From 0f1c0c154d8c14a1cb5077dd871818352b502ebe Mon Sep 17 00:00:00 2001 From: Kargatum Date: Fri, 10 Dec 2021 17:53:31 +0700 Subject: feat(Core/Config): implement loading files optional (#8198) --- src/cmake/showoptions.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/cmake') 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("") -- cgit v1.2.3