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.
This commit is contained in:
Chocobo1 2020-09-18 13:49:32 +08:00
parent 70d9ea8034
commit 7fed0391ba
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -95,8 +95,4 @@ macro(qbt_common_config)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif() endif()
if (CMAKE_GENERATOR MATCHES "Visual Studio")
target_compile_options(qbt_common_cfg INTERFACE /MP)
endif()
endmacro(qbt_common_config) endmacro(qbt_common_config)