File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,12 @@ include(PocoMacros)
56
56
option (BUILD_SHARED_LIBS "Build shared libraries" ON )
57
57
58
58
if (MSVC )
59
- option (POCO_MT "Set to OFF|ON (default is OFF) to control build of POCO as /MT instead of /MD" ON )
60
-
59
+ option (POCO_MT "Set to OFF|ON (default is OFF) to control build of POCO as /MT instead of /MD" OFF )
61
60
option (ENABLE_MSVC_MP "Set to OFF|ON (default is OFF) to control parallel build of POCO with MSVC" ON )
61
+
62
+ if (BUILD_SHARED_LIBS AND POCO_MT)
63
+ message (FATAL_ERROR "Cannot have both BUILD_SHARED_LIBS and POCO_MT" )
64
+ endif ()
62
65
63
66
# allow disabling of internally built OpenSSL# (see below for details)
64
67
# if POCO pre-built OpenSSL directory is found, and POCO_DISABLE_INTERNAL_OPENSSL=OFF,
You can’t perform that action at this time.
0 commit comments