From f6f3ef93bcc6864764f6b7ad9ac2779fea9796e1 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 1 Sep 2017 11:20:41 +0200 Subject: [PATCH] #1830 AppFwk : Use /MP for MSVC --- Fwk/AppFwk/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Fwk/AppFwk/CMakeLists.txt b/Fwk/AppFwk/CMakeLists.txt index 78aa852bce..afcc3f6f2d 100644 --- a/Fwk/AppFwk/CMakeLists.txt +++ b/Fwk/AppFwk/CMakeLists.txt @@ -10,6 +10,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(CMAKE_CXX_FLAGS "-std=c++0x") endif() +if(MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") +endif() + + # Improvement Cmake 3.x # If we have compiler requirements for this library, list them #target_compile_features(lib