mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-10-30 18:17:50 +00:00
remove ENABLE_MSVC_MP cmake option
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user