mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-25 01:19:06 +02:00
CMake fixes for Windows
This commit is contained in:
parent
75a86ad868
commit
e5afb2fa89
@ -56,10 +56,13 @@ include(PocoMacros)
|
|||||||
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
option(POCO_MT "Set to OFF|ON (default is OFF) to control build of POCO as /MT instead of /MD" ON)
|
option(POCO_MT "Set to OFF|ON (default is OFF) to control build of POCO as /MT instead of /MD" OFF)
|
||||||
|
|
||||||
option(ENABLE_MSVC_MP "Set to OFF|ON (default is OFF) to control parallel build of POCO with MSVC" ON)
|
option(ENABLE_MSVC_MP "Set to OFF|ON (default is OFF) to control parallel build of POCO with MSVC" ON)
|
||||||
|
|
||||||
|
if(BUILD_SHARED_LIBS AND POCO_MT)
|
||||||
|
message(FATAL_ERROR "Cannot have both BUILD_SHARED_LIBS and POCO_MT")
|
||||||
|
endif()
|
||||||
|
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user