rename MP_COMPILE_FLAG to FREECAD_USE_MP_COMPILE_FLAG to be consistent with other build options
This commit is contained in:
@@ -1181,8 +1181,8 @@ IF(MSVC)
|
||||
SET (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /EHa")
|
||||
ENDIF(FREECAD_RELEASE_SEH)
|
||||
|
||||
OPTION(MP_COMPILE_FLAG "Add /MP flag to the compiler definitions. Speeds up the compile on multi processor machines" OFF)
|
||||
if( MP_COMPILE_FLAG )
|
||||
OPTION(FREECAD_USE_MP_COMPILE_FLAG "Add /MP flag to the compiler definitions. Speeds up the compile on multi processor machines" OFF)
|
||||
if(FREECAD_USE_MP_COMPILE_FLAG)
|
||||
# set "Build with Multiple Processes"
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
|
||||
|
||||
Reference in New Issue
Block a user