diff options
author | Gerhard Gappmeier <gerhard.gappmeier@ascolab.com> | 2018-11-08 20:15:04 +0300 |
---|---|---|
committer | Gerhard Gappmeier <gerhard.gappmeier@ascolab.com> | 2018-11-08 20:24:15 +0300 |
commit | e0841e4958f495ffcc244a74ef7d793b34efc5a2 (patch) | |
tree | f80d6b0efb91b072cdf7d34cbb70b75a832156c6 /src/CMakeLists.txt | |
parent | 164993ddf82d2eb01450578c6c83c7d314bbd1c9 (diff) |
Add CMake option to disable GUI build
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6db99a49e..9c9946a75 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,7 +44,9 @@ endif() add_subdirectory(csync) add_subdirectory(libsync) if (NOT BUILD_LIBRARIES_ONLY) - add_subdirectory(gui) + if (BUILD_GUI) + add_subdirectory(gui) + endif() add_subdirectory(cmd) if (WITH_CRASHREPORTER) |