diff --git a/cmake/config.cmake b/cmake/config.cmake index a13e7f8b..9823764f 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -27,6 +27,7 @@ endif() if(WIN32) add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN) + add_compile_options(/MP) else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color=always")