From 6d3a06f90a0e68db5735757d1dbd5989951a6513 Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 9 Oct 2026 17:41:44 +0000 Subject: [PATCH] fix: Exclude LtsUtilsGui from release scope build (depends on LtsWidgets) - LtsUtilsGui/ConnectDialog links against LtsWidgets which is not in release scope - Wrap LtsUtilsGui subdirectory in IF(NOT RELEASE_BUILD) conditional - Only LtsUtilsCore and LtsUtilsSettings are included in release builds Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../qt6-migrated-legatus/Lts/Common/LtsUtils/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/CMakeLists.txt index 7051cc9a5..2480e55ee 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/CMakeLists.txt @@ -8,5 +8,7 @@ ADD_SUBDIRECTORY(LtsUtilsCore) -ADD_SUBDIRECTORY(LtsUtilsGui) +IF(NOT RELEASE_BUILD) + ADD_SUBDIRECTORY(LtsUtilsGui) +ENDIF() ADD_SUBDIRECTORY(LtsUtilsSettings)