summaryrefslogtreecommitdiffstats
path: root/CMAKE_CONFIGURE
diff options
context:
space:
mode:
Diffstat (limited to 'CMAKE_CONFIGURE')
-rwxr-xr-xCMAKE_CONFIGURE12
1 files changed, 1 insertions, 11 deletions
diff --git a/CMAKE_CONFIGURE b/CMAKE_CONFIGURE
index ae19da80b6..f03d7d49f9 100755
--- a/CMAKE_CONFIGURE
+++ b/CMAKE_CONFIGURE
@@ -2,14 +2,4 @@ config_query_list CM_BUILD_TYPE 'which build type?' Release Debug RelWithDebIn
#if is_depends_enabled $SPELL extra-cmake-modules;then
config_query_option CM_TESTS 'build tests?' n "-DBUILD_TESTING=1" "-DBUILD_TESTING=0"
#fi
-
-# Default to Ninja cmake generator if it's installed, otherwise the standard Unix way
-if spell_ok ninja-build-system; then
- message "${MESSAGE_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${MESSAGE_COLOR} is using ${SPELL_COLOR}ninja${DEFAULT_COLOR}${MESSAGE_COLOR} for CMAKE GENERATOR." &&
- CMAKE_GEN='Ninja'
-else
- message "${MESSAGE_COLOR}${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${MESSAGE_COLOR} is using \"Unix Makefiles\" for CMAKE GENERATOR." &&
- CMAKE_GEN='Unix Makefiles'
-fi &&
-
-persistent_add CMAKE_GEN
+persistent_remove CMAKE_GEN