From 7fed0391ba2ccdbaa1cc8e12d4f076762f6aaa7f Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 18 Sep 2020 13:49:32 +0800 Subject: [PATCH] Don't impose unnecessary compile options on users This is unexpected for users that take single job compilation as the default (which is always the case since forever). Users can change the default if they wish to use multicore for compilation. --- cmake/Modules/MacroQbtCommonConfig.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake/Modules/MacroQbtCommonConfig.cmake b/cmake/Modules/MacroQbtCommonConfig.cmake index f62396ed8..0e0068977 100644 --- a/cmake/Modules/MacroQbtCommonConfig.cmake +++ b/cmake/Modules/MacroQbtCommonConfig.cmake @@ -95,8 +95,4 @@ macro(qbt_common_config) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") endif() - if (CMAKE_GENERATOR MATCHES "Visual Studio") - target_compile_options(qbt_common_cfg INTERFACE /MP) - endif() - endmacro(qbt_common_config)