From 68e915192f6681125aa58d113283bdf8bae9e59c Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 20 Jul 2019 16:50:33 -0400 Subject: [PATCH] build cli when deploying --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 988a00c..88f87a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,9 @@ target_compile_definitions(text PRIVATE ${TEXT_LANGUAGE}) link_libraries(text) add_subdirectory(GUI) -#add_subdirectory(GUI/host) # uncomment to build CLI add_subdirectory(texthook) add_subdirectory(extensions) add_subdirectory(test) +if (DEFINED VERSION) + add_subdirectory(GUI/host) # uncomment to build CLI +endif()