add POCO_EXTERNAL_OPENSSL

This commit is contained in:
Alex Fabijanic 2017-09-25 19:11:21 -05:00
parent 7887a4a662
commit 04a4beb5e4
2 changed files with 13 additions and 0 deletions

View File

@ -174,6 +174,11 @@
// #define POCO_LOG_DEBUG
// Uncomment to disable the use of bundled OpenSSL binaries
// (Windows only)
// #define POCO_EXTERNAL_OPENSSL
// Define to prevent changing the suffix for shared libraries
// to "d.so", "d.dll", etc. for _DEBUG builds in Poco::SharedLibrary.
// #define POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX

View File

@ -181,6 +181,14 @@ necessary paths to the INCLUDE and LIB environment variables. You might also
have to edit the project settings if the names of the OpenSSL libraries
from your build differ from the names used in the project files.
!!!NOTE:
To disable internal automatic linking of supplied binaries in pre-generated
POCO VS projects, define POCO_EXTERNAL_OPENSSL in your build environment.
Alternatively, you can either rename your binaries, or edit the
%POCO_BASE%\Crypto\include\Poco\Crypto\Crypto.h file if the names of the
OpenSSL libraries from your build differ from the names used thereof
(look for "#pragma comment" lines in Crypto.h).
!ODBC