mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#1830 AppFwk : Use /MP for MSVC
This commit is contained in:
parent
5e6547c0c5
commit
f6f3ef93bc
@ -10,6 +10,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|||||||
set(CMAKE_CXX_FLAGS "-std=c++0x")
|
set(CMAKE_CXX_FLAGS "-std=c++0x")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
# Improvement Cmake 3.x
|
# Improvement Cmake 3.x
|
||||||
# If we have compiler requirements for this library, list them
|
# If we have compiler requirements for this library, list them
|
||||||
#target_compile_features(lib
|
#target_compile_features(lib
|
||||||
|
Loading…
Reference in New Issue
Block a user