Skip to content

Commit

Permalink
Don't impose unnecessary compile options on users
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Chocobo1 committed Sep 18, 2020
1 parent 70d9ea8 commit 7fed039
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmake/Modules/MacroQbtCommonConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,4 @@ macro(qbt_common_config)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()

if (CMAKE_GENERATOR MATCHES "Visual Studio")
target_compile_options(qbt_common_cfg INTERFACE /MP)
endif()

endmacro(qbt_common_config)

0 comments on commit 7fed039

Please sign in to comment.