From 3e510505b88ea9abdbcc05fc026800194c577793 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 15 Apr 2019 13:20:47 +0200 Subject: [PATCH] rename MP_COMPILE_FLAG to FREECAD_USE_MP_COMPILE_FLAG to be consistent with other build options --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cafed217e9..a842d4f219 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")