diff options
author | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2016-02-21 07:10:13 +0100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2016-02-21 07:10:13 +0100 |
commit | a59a290e235b5ee939039ce4920e39d1057a4635 (patch) | |
tree | f00825c0d267a16d61fe2e20e1d0f2200b4b4325 | |
parent | Merge pull request #325 from vaselo/master (diff) | |
parent | Add an option to disable GUI (diff) | |
download | Heimdall-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 |
-rw-r--r-- | CMakeLists.txt | 9 |
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() |