mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-03 15:58:23 +02:00
remove ENABLE_MSVC_MP cmake option
This commit is contained in:
parent
67c9745a52
commit
a3d827d80e
@ -62,7 +62,6 @@ endif()
|
|||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
option(POCO_MT "Set to OFF|ON (default is OFF) to control build of POCO as /MT instead of /MD" OFF)
|
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)
|
|
||||||
|
|
||||||
if(BUILD_SHARED_LIBS AND POCO_MT)
|
if(BUILD_SHARED_LIBS AND POCO_MT)
|
||||||
message(FATAL_ERROR "Cannot have both BUILD_SHARED_LIBS and POCO_MT")
|
message(FATAL_ERROR "Cannot have both BUILD_SHARED_LIBS and POCO_MT")
|
||||||
|
@ -40,11 +40,6 @@ if(MSVC)
|
|||||||
else(POCO_MT)
|
else(POCO_MT)
|
||||||
set(STATIC_POSTFIX "md" CACHE STRING "Set static library postfix" FORCE)
|
set(STATIC_POSTFIX "md" CACHE STRING "Set static library postfix" FORCE)
|
||||||
endif(POCO_MT)
|
endif(POCO_MT)
|
||||||
|
|
||||||
if (ENABLE_MSVC_MP)
|
|
||||||
add_definitions(/MP)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
else(MSVC)
|
else(MSVC)
|
||||||
# Other compilers then MSVC don't have a static STATIC_POSTFIX at the moment
|
# Other compilers then MSVC don't have a static STATIC_POSTFIX at the moment
|
||||||
set(STATIC_POSTFIX "" CACHE STRING "Set static library postfix" FORCE)
|
set(STATIC_POSTFIX "" CACHE STRING "Set static library postfix" FORCE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user