From 4a143f09b3f8320169757bb130644fc68a8a4cf5 Mon Sep 17 00:00:00 2001 From: twi-devel Date: Wed, 19 Aug 2026 02:37:12 +0200 Subject: [PATCH] =?UTF-8?q?Qt6-Migration:=20BUILD=5FRTI=20conditional=20f?= =?UTF-8?q?=C3=BCr=20TopicEditorBase=20und=20AreaEffectSimulation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TopicEditorBase hängt von LtsScriptTimeline ab (nur mit BUILD_RTI) - AreaEffectSimulation hängt von svcAesCommon ab (RTI-generierte Dateien) - Beide Module werden nur mit BUILD_RTI=ON gebaut - Vermeidet Build-Fehler wenn RTI nicht installiert ist --- .../Lts/Common/TopicEditorBase/CMakeLists.txt | 2 ++ .../Lts/Plugins/AreaEffectSimulation/CMakeLists.txt | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Common/TopicEditorBase/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Common/TopicEditorBase/CMakeLists.txt index a74c39c21..a39c4895b 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Common/TopicEditorBase/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Common/TopicEditorBase/CMakeLists.txt @@ -31,6 +31,7 @@ NGL_WRAP_UI(topic_editor_base_SRCS topic_preview_widget.ui ) +IF(BUILD_RTI) NGL_ADD_LIBRARY2(WS TopicEditorBase SHARED ${topic_editor_base_SRCS}) NGL_TARGET_INCLUDE_DIRECTORIES(TopicEditorBase @@ -46,3 +47,4 @@ NGL_TARGET_LINK_LIBRARIES(TopicEditorBase LtsWidgets LtsUtilsCore ) +ENDIF(BUILD_RTI) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Plugins/AreaEffectSimulation/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Plugins/AreaEffectSimulation/CMakeLists.txt index ff5cc9fd7..430ec9402 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Plugins/AreaEffectSimulation/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Plugins/AreaEffectSimulation/CMakeLists.txt @@ -5,6 +5,8 @@ # Created by Christian Ehrlicher, SLSE, 2016-03-01 # +IF(BUILD_RTI) + ADD_SUBDIRECTORY(Data) ADD_SUBDIRECTORY(Gui) @@ -27,3 +29,5 @@ ADD_INTERFACE_LIBRARY(AesDataPluginInterface DataPluginInterface svcAesCommon ) + +ENDIF(BUILD_RTI)