Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Gappmeier <gerhard.gappmeier@ascolab.com>2018-11-08 20:15:04 +0300
committerGerhard Gappmeier <gerhard.gappmeier@ascolab.com>2018-11-08 20:24:15 +0300
commite0841e4958f495ffcc244a74ef7d793b34efc5a2 (patch)
treef80d6b0efb91b072cdf7d34cbb70b75a832156c6 /src/CMakeLists.txt
parent164993ddf82d2eb01450578c6c83c7d314bbd1c9 (diff)
Add CMake option to disable GUI build
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
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)