diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-08-22 17:23:02 +0200 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-08-22 17:23:02 +0200 |
commit | f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c (patch) | |
tree | b76d23b0a72fe655b6b8be715e96051978728475 /CMakeLists.txt | |
parent | Do not use static libusb-1.0 by default on Linux. (diff) | |
download | Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.tar Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.tar.gz Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.tar.bz2 Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.tar.lz Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.tar.xz Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.tar.zst Heimdall-f789e25d85bdc8582ae0e4c9dabbb5ac0bbfd69c.zip |
Diffstat (limited to 'CMakeLists.txt')
-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() |