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 /CMakeLists.txt | |
parent | 9131a68ec4216e24b19cdfbbcffc089b85bb1674 (diff) |
Add CMake option to disable GUI build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 383f00ae2..b505b8e22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,6 +160,9 @@ option(BUILD_CLIENT "BUILD_CLIENT" ON) # this option creates only libocsync and libowncloudsync (NOTE: BUILD_CLIENT needs to be on) option(BUILD_LIBRARIES_ONLY "BUILD_LIBRARIES_ONLY" OFF) +# build the GUI component, when disabled only nextcloudcmd is built +option(BUILD_GUI "BUILD_GUI" ON) + # When this option is enabled, 5xx errors are not added to the blacklist # Normally you don't want to enable this option because if a particular file # triggers a bug on the server, you want the file to be blacklisted. |