From 6177fd00fb732f0565c7a3a3bbb02f9935f86a1d Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 9 Oct 2026 15:20:42 +0000 Subject: [PATCH] Conditionally exclude LtsUtilsGuiDds from release scope build - LtsUtilsGuiDds requires DDS headers not available in release scope - Only needed by LtsMultiMonitor which is outside release scope - Wrap ADD_SUBDIRECTORY in RELEASE_BUILD check Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Lts/Common/LtsUtils/LtsUtilsGui/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/LtsUtilsGui/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/LtsUtilsGui/CMakeLists.txt index 44b17df19..648eb8b75 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/LtsUtilsGui/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Common/LtsUtils/LtsUtilsGui/CMakeLists.txt @@ -7,6 +7,9 @@ # # LtsUtilsGuiDds is needed by LtsMultiMonitor regardless of BUILD_RTI -ADD_SUBDIRECTORY(LtsUtilsGuiDds) +# Exclude from release scope - requires DDS headers, only used by LtsMultiMonitor +if(NOT RELEASE_BUILD) + ADD_SUBDIRECTORY(LtsUtilsGuiDds) +endif() ADD_SUBDIRECTORY(ConnectDialog) ADD_SUBDIRECTORY(StyleManager)