diff options
author | Gerhard Gappmeier <gerhard.gappmeier@ascolab.com> | 2018-11-08 20:15:04 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:58:18 +0300 |
commit | 6aead6425eb00110ffc24aa47c5dde1e1ab8cd25 (patch) | |
tree | 2282dfb3ff057e02947ff40c8da7356b1c89bb6a /src/CMakeLists.txt | |
parent | 9131a68ec4216e24b19cdfbbcffc089b85bb1674 (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 00eef6c87..b3658c98b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -60,7 +60,9 @@ add_subdirectory(csync) add_subdirectory(libsync) if (NOT BUILD_LIBRARIES_ONLY) add_subdirectory(cmd) - add_subdirectory(gui) + if (BUILD_GUI) + add_subdirectory(gui) + endif() if (WITH_CRASHREPORTER) add_subdirectory(3rdparty/libcrashreporter-qt) |