add openssl autolink to NetSSL

This commit is contained in:
Alex Fabijanic
2017-09-23 16:19:14 -05:00
parent b7fbdabf5f
commit 741fead666
3 changed files with 11 additions and 17 deletions

View File

@@ -50,12 +50,18 @@
//
// Automatically link NetSSL library.
// Automatically link NetSSL and OpenSSL libraries.
//
#if defined(_MSC_VER)
#if !defined(POCO_NO_AUTOMATIC_LIBS) && !defined(NetSSL_EXPORTS)
#pragma comment(lib, "PocoNetSSL" POCO_LIB_SUFFIX)
#endif
#if !defined(POCO_NO_AUTOMATIC_LIBS)
#if !defined(POCO_EXTERNAL_OPENSSL)
#pragma comment(lib, "libcrypto.lib")
#pragma comment(lib, "libssl.lib")
#endif // POCO_EXTERNAL_OPENSSL
#if !defined(Crypto_EXPORTS)
#pragma comment(lib, "PocoNetSSL" POCO_LIB_SUFFIX)
#endif
#endif // POCO_NO_AUTOMATIC_LIBS
#endif