From 759457f739f64c4468a6089fbb5646aa7ff9bf9d Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 8 Nov 2025 10:49:22 -0500 Subject: [PATCH] build: remove option to build gui The Gui must always be built. The core can not function completely standalone it is unable to add new clients or setup screens for example until such a time the gui is not optional. --- doc/dev/build.md | 1 - src/apps/CMakeLists.txt | 10 ++-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/doc/dev/build.md b/doc/dev/build.md index 7856fda82..ea487af33 100644 --- a/doc/dev/build.md +++ b/doc/dev/build.md @@ -22,7 +22,6 @@ Deskflow supports the following build options CMake options: | Option | Description | Default Value | Additional requirements | :-------------------------:|:---------------------------------------:|:------------------:|:-----------------------:| -| BUILD_GUI | Build GUI | ON | | | BUILD_USER_DOCS | Build user documentation | DOXYGEN_FOUND | `Doxygen` | | BUILD_DEV_DOCS | Build development documentation | OFF | `Doxygen` | | BUILD_INSTALLER | Build installers/packages | ON | | diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt index 9d7ad20c8..e3c453d96 100644 --- a/src/apps/CMakeLists.txt +++ b/src/apps/CMakeLists.txt @@ -29,11 +29,5 @@ function(generate_app_man TARGET NAME) endfunction() add_subdirectory(deskflow-core) - -## Only used on windows -add_subdirectory(deskflow-daemon) - -option(BUILD_GUI "Build GUI" ON) -if(BUILD_GUI) - add_subdirectory(deskflow-gui) -endif(BUILD_GUI) +add_subdirectory(deskflow-daemon) #Only used on windows +add_subdirectory(deskflow-gui)