summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2016-02-21 07:10:13 +0100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2016-02-21 07:10:13 +0100
commita59a290e235b5ee939039ce4920e39d1057a4635 (patch)
treef00825c0d267a16d61fe2e20e1d0f2200b4b4325 /CMakeLists.txt
parentMerge pull request #325 from vaselo/master (diff)
parentAdd an option to disable GUI (diff)
downloadHeimdall-a59a290e235b5ee939039ce4920e39d1057a4635.tar
Heimdall-a59a290e235b5ee939039ce4920e39d1057a4635.tar.gz
Heimdall-a59a290e235b5ee939039ce4920e39d1057a4635.tar.bz2
Heimdall-a59a290e235b5ee939039ce4920e39d1057a4635.tar.lz
Heimdall-a59a290e235b5ee939039ce4920e39d1057a4635.tar.xz
Heimdall-a59a290e235b5ee939039ce4920e39d1057a4635.tar.zst
Heimdall-a59a290e235b5ee939039ce4920e39d1057a4635.zip
Diffstat (limited to 'CMakeLists.txt')
-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()