From 24b1cee1e7e28ce8d4ba4c72e5dc8bc034091aa7 Mon Sep 17 00:00:00 2001 From: TheNumbat Date: Tue, 6 Apr 2021 14:42:38 -0700 Subject: [PATCH] enable msvc parallelism --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8566836..ccda761 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,7 +191,7 @@ set_target_properties(Scotty3D PROPERTIES CXX_EXTENSIONS OFF) if(MSVC) - target_compile_options(Scotty3D PRIVATE /W4 /WX /wd4201 /wd4840 /wd4100 /fp:fast) + target_compile_options(Scotty3D PRIVATE /MP /W4 /WX /wd4201 /wd4840 /wd4100 /fp:fast) else() target_compile_options(Scotty3D PRIVATE -Wall -Wextra -Werror -Wno-reorder -Wno-unused-parameter) endif() -- GitLab