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) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e62b02e18..7f3d3ec98 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,7 +32,7 @@ else() endif() # force variable type so that it always shows up in ccmake/cmake-gui frontends set_property(CACHE LibtorrentRasterbar_DIR PROPERTY TYPE PATH) -find_package(Boost ${requiredBoostVersion} REQUIRED COMPONENTS system) +find_package(Boost ${requiredBoostVersion} REQUIRED) find_package(OpenSSL ${requiredOpenSSLVersion} REQUIRED) find_package(ZLIB ${requiredZlibVersion} REQUIRED) find_package(Qt5 ${requiredQtVersion} REQUIRED COMPONENTS Core Network Xml LinguistTools) @@ -45,6 +45,7 @@ if (DBUS) endif() # automatically call Qt moc, rcc and uic as needed for all targets by default +set(CMAKE_AUTORCC_OPTIONS --compress 9 --threshold 5) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON)