#1830 AppFwk : Use /MP for MSVC

This commit is contained in:
Magne Sjaastad 2017-09-01 11:20:41 +02:00
parent 5e6547c0c5
commit f6f3ef93bc

View File

@ -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