From ef0c697fddc05a99183ebb3f35caf0b76cfb3e61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 10 Mar 2012 16:05:09 +0000 Subject: [PATCH] Allow to not build the CLI. --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index df4aed1..ab617d9 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,8 @@ endif () # prescribed in http://www.gentoo.org/proj/en/qa/automagic.xml set (ENABLE_GUI "AUTO" CACHE STRING "Enable Qt GUI.") +set (ENABLE_CLI true CACHE BOOL "Enable command Line interface.") + set (ENABLE_EGL "AUTO" CACHE STRING "Enable EGL support.") @@ -617,7 +619,9 @@ endif () ############################################################################## # CLI -add_subdirectory(cli) +if (ENABLE_CLI) + add_subdirectory(cli) +endif () ############################################################################## # Scripts (to support the CLI) -- 2.43.0