From b0fc0ab0f4cfea326e047ac3166426e98d5e115f Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 21 Dec 2021 23:07:02 -0600 Subject: [PATCH] cMake: Default /MP to ON for MSVC --- cMake/FreeCAD_Helpers/SetGlobalCompilerAndLinkerSettings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cMake/FreeCAD_Helpers/SetGlobalCompilerAndLinkerSettings.cmake b/cMake/FreeCAD_Helpers/SetGlobalCompilerAndLinkerSettings.cmake index 9a936bffbe..f70ba715b3 100644 --- a/cMake/FreeCAD_Helpers/SetGlobalCompilerAndLinkerSettings.cmake +++ b/cMake/FreeCAD_Helpers/SetGlobalCompilerAndLinkerSettings.cmake @@ -43,7 +43,7 @@ macro(SetGlobalCompilerAndLinkerSettings) endif() endif(FREECAD_RELEASE_SEH) - option(FREECAD_USE_MP_COMPILE_FLAG "Add /MP flag to the compiler definitions. Speeds up the compile on multi processor machines" OFF) + option(FREECAD_USE_MP_COMPILE_FLAG "Add /MP flag to the compiler definitions. Speeds up the compile on multi processor machines" ON) if(FREECAD_USE_MP_COMPILE_FLAG) # set "Build with Multiple Processes" set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")