From e0841e4958f495ffcc244a74ef7d793b34efc5a2 Mon Sep 17 00:00:00 2001 From: Gerhard Gappmeier Date: Thu, 8 Nov 2018 18:15:04 +0100 Subject: Add CMake option to disable GUI build --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') 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) -- cgit v1.2.3