X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=CMakeLists.txt;h=ab617d9e83e77ee81f414fea10481043002e579a;hb=ef0c697fddc05a99183ebb3f35caf0b76cfb3e61;hp=df4aed1d9199aa7a8c24d2be037381477f0145cc;hpb=e86846f5dc3a60e2abdc51438ebf0ad921a8c91b;p=apitrace 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)