Merge pull request #163 from piponazo/MsvcParallel
New MSVC flag to enable Object Level Parallelism in CMake code
This commit is contained in:
commit
2ed661068c
@ -132,4 +132,7 @@ if(MSVC)
|
||||
string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
endif ()
|
||||
|
||||
# Object Level Parallelism
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user