From e7a062e531bd6c9450bcd7f0ecf004ac86c71250 Mon Sep 17 00:00:00 2001 From: Torsten Wierschin Date: Fri, 9 Oct 2026 18:45:23 +0000 Subject: [PATCH] Exclude AdlerJson plugin from release scope build - AdlerJson depends on svcPdmClient (ProjectDataManagement) which is not in release scope - Wrap ADD_SUBDIRECTORY(AdlerJson) in IF(NOT RELEASE_BUILD) conditional - Prevents build failure from missing pdm_enums.hpp header Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Lts/Proxies/TrainingAreaBase/Plugins/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/Plugins/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/Plugins/CMakeLists.txt index 6432891c2..24c8fda1e 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/Plugins/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Proxies/TrainingAreaBase/Plugins/CMakeLists.txt @@ -32,7 +32,10 @@ IF (BUILD_SVC_HLA) ENDIF() +# AdlerJson depends on svcPdmClient (ProjectDataManagement) which is not in release scope +IF(NOT RELEASE_BUILD) ADD_SUBDIRECTORY(AdlerJson) +ENDIF() OPTION(BUILD_UAS_PROXY "Build the UAS TAB Plugin (default: OFF) [needs BUILD_SV = ON and UNIX-like OS]" OFF) # TODO: use 'pname = guez' if done