aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/bin/CMakeLists.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7198d92..13998a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@ project(diceparser VERSION 1.9.0 DESCRIPTION "Parser of dice command")
include(CTest)
-option(BUILD_CLI ON)
+option(NO_BUILD_CLI OFF)
option(NO_PAINTER_OPERATOR OFF)
IF(BUILD_TESTING)
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
index 5e1ebd3..31037cd 100644
--- a/src/bin/CMakeLists.txt
+++ b/src/bin/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
-if(BUILD_CLI)
+if(NOT NO_BUILD_CLI)
add_subdirectory(cli)
-endif() \ No newline at end of file
+endif()