mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 08:46:41 +01:00
fix CMake build of OpenSSL
This commit is contained in:
parent
59762d897a
commit
185493a82d
@ -71,7 +71,7 @@ if(MSVC)
|
|||||||
# allow disabling of internally built OpenSSL# (see below for details)
|
# allow disabling of internally built OpenSSL# (see below for details)
|
||||||
# if POCO pre-built OpenSSL directory is found, and POCO_DISABLE_INTERNAL_OPENSSL=OFF,
|
# if POCO pre-built OpenSSL directory is found, and POCO_DISABLE_INTERNAL_OPENSSL=OFF,
|
||||||
# the internal OpenSSL build will be used
|
# the internal OpenSSL build will be used
|
||||||
option(POCO_DISABLE_INTERNAL_OPENSSL "Disable internal OpensSSL binaries use" OFF)
|
option(POCO_DISABLE_INTERNAL_OPENSSL "Disable internal OpensSSL binaries use" ON)
|
||||||
|
|
||||||
if((NOT POCO_DISABLE_INTERNAL_OPENSSL) AND (ENABLE_NETSSL OR ENABLE_CRYPTO OR (ENABLE_DATA_MYSQL AND MINGW)))
|
if((NOT POCO_DISABLE_INTERNAL_OPENSSL) AND (ENABLE_NETSSL OR ENABLE_CRYPTO OR (ENABLE_DATA_MYSQL AND MINGW)))
|
||||||
include(UseEmbeddedOpenSSL)
|
include(UseEmbeddedOpenSSL)
|
||||||
|
@ -182,7 +182,9 @@
|
|||||||
// empty or other value:
|
// empty or other value:
|
||||||
// Do not link any OpenSSL libraries automatically. You will have to edit the
|
// Do not link any OpenSSL libraries automatically. You will have to edit the
|
||||||
// Visual C++ project files for Crypto and NetSSL_OpenSSL.
|
// Visual C++ project files for Crypto and NetSSL_OpenSSL.
|
||||||
#define POCO_EXTERNAL_OPENSSL POCO_EXTERNAL_OPENSSL_SLPRO
|
#ifndef POCO_EXTERNAL_OPENSSL
|
||||||
|
#define POCO_EXTERNAL_OPENSSL POCO_EXTERNAL_OPENSSL_SLPRO
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Define to prevent changing the suffix for shared libraries
|
// Define to prevent changing the suffix for shared libraries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user