From f927d8ce0a106bbabc992becf59dac61c3e31908 Mon Sep 17 00:00:00 2001 From: Starg Date: Thu, 1 Feb 2018 23:22:05 +0900 Subject: [PATCH] Enable parallel build for MSVC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c22d408..58b8240c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,7 +116,7 @@ add_definitions( ) if(MSVC) - add_compile_options(/W4 /Zi /GS /fp:fast /permissive- /Qspectre) + add_compile_options(/W4 /Zi /GS /fp:fast /permissive- /MP /Qspectre) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc /std:c++17") set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /GL /guard:cf") -- 2.11.0