Qt6-Migration: BUILD_RTI conditional für TopicEditorBase und AreaEffectSimulation

- 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
This commit is contained in:
torsten committed 2026-08-19 02:37:12 +02:00
1 parent f14faa04e5
commit 4a143f09b3
2 files changed
+6

No files matched your search

@@ -31,6 +31,7 @@ NGL_WRAP_UI(topic_editor_base_SRCS
topic_preview_widget.ui topic_preview_widget.ui
) )
IF(BUILD_RTI)
NGL_ADD_LIBRARY2(WS TopicEditorBase SHARED ${topic_editor_base_SRCS}) NGL_ADD_LIBRARY2(WS TopicEditorBase SHARED ${topic_editor_base_SRCS})
NGL_TARGET_INCLUDE_DIRECTORIES(TopicEditorBase NGL_TARGET_INCLUDE_DIRECTORIES(TopicEditorBase
@@ -46,3 +47,4 @@ NGL_TARGET_LINK_LIBRARIES(TopicEditorBase
LtsWidgets LtsWidgets
LtsUtilsCore LtsUtilsCore
) )
ENDIF(BUILD_RTI)
@@ -5,6 +5,8 @@
# Created by Christian Ehrlicher, SLSE, 2016-03-01 # Created by Christian Ehrlicher, SLSE, 2016-03-01
# #
IF(BUILD_RTI)
ADD_SUBDIRECTORY(Data) ADD_SUBDIRECTORY(Data)
ADD_SUBDIRECTORY(Gui) ADD_SUBDIRECTORY(Gui)
@@ -27,3 +29,5 @@ ADD_INTERFACE_LIBRARY(AesDataPluginInterface
DataPluginInterface DataPluginInterface
svcAesCommon svcAesCommon
) )
ENDIF(BUILD_RTI)