summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4f694d..4dd4fb6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,8 +8,11 @@ project(Heimdall)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+option(DISABLE_FRONTEND "Disable GUI frontend" OFF)
+
add_subdirectory(libpit)
add_subdirectory(heimdall)
-add_subdirectory(heimdall-frontend)
-
-add_dependencies(heimdall-frontend heimdall)
+if(NOT DISABLE_FRONTEND)
+ add_subdirectory(heimdall-frontend)
+ add_dependencies(heimdall-frontend heimdall)
+endif()