From a3d827d80eb7f3329c58e73eb2906cb7ba829019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Mon, 17 Feb 2020 08:36:04 +0100 Subject: [PATCH] remove ENABLE_MSVC_MP cmake option --- CMakeLists.txt | 1 - cmake/DefinePlatformSpecifc.cmake | 5 ----- 2 files changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c908d80f0..b664afd67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,6 @@ endif() if(MSVC) 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) message(FATAL_ERROR "Cannot have both BUILD_SHARED_LIBS and POCO_MT") diff --git a/cmake/DefinePlatformSpecifc.cmake b/cmake/DefinePlatformSpecifc.cmake index ecba74fb5..e22175080 100644 --- a/cmake/DefinePlatformSpecifc.cmake +++ b/cmake/DefinePlatformSpecifc.cmake @@ -40,11 +40,6 @@ if(MSVC) else(POCO_MT) set(STATIC_POSTFIX "md" CACHE STRING "Set static library postfix" FORCE) endif(POCO_MT) - - if (ENABLE_MSVC_MP) - add_definitions(/MP) - endif() - else(MSVC) # Other compilers then MSVC don't have a static STATIC_POSTFIX at the moment set(STATIC_POSTFIX "" CACHE STRING "Set static library postfix" FORCE)