summaryrefslogtreecommitdiff
path: root/src/cmake
diff options
context:
space:
mode:
authorKargatum <dowlandtop@yandex.com>2021-12-10 17:53:31 +0700
committerGitHub <noreply@github.com>2021-12-10 11:53:31 +0100
commit0f1c0c154d8c14a1cb5077dd871818352b502ebe (patch)
tree0895ec96aa3939a2402fe8a5bd745bc67a45b58a /src/cmake
parente5cbba1c4c00e1f0ab85d26eb03a3bee1dbd03ab (diff)
feat(Core/Config): implement loading files optional (#8198)
Diffstat (limited to 'src/cmake')
-rw-r--r--src/cmake/showoptions.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmake/showoptions.cmake b/src/cmake/showoptions.cmake
index 8e81121409..906692e106 100644
--- a/src/cmake/showoptions.cmake
+++ b/src/cmake/showoptions.cmake
@@ -188,4 +188,12 @@ if (USE_CPP_20)
message(" *** Please note that this is an experimental feature!")
endif()
+if (CONFIG_ABORT_INCORRECT_OPTIONS)
+ message("")
+ message(" WARNING !")
+ message(" Enabled abort if core found incorrect option in config files")
+
+ add_definitions(-DCONFIG_ABORT_INCORRECT_OPTIONS)
+endif()
+
message("")