mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 22:50:17 +02:00
add openssl autolink to NetSSL
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user