# 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.")
##############################################################################
# CLI
-add_subdirectory(cli)
+if (ENABLE_CLI)
+ add_subdirectory(cli)
+endif ()
##############################################################################
# Scripts (to support the CLI)