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 /CMakeLists.txt | |
parent | 164993ddf82d2eb01450578c6c83c7d314bbd1c9 (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 d650b2379..7bbf6e4db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,6 +115,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 owncloudcmd 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. |