Fix svcAesCommon: make situationMapElevationMap and Trajectory conditional

- Use TARGET_EXISTS generator expressions for external dependencies
- Allows building without Viewer/SituationMap module in Release 2
- Maintains compatibility when those modules are available
This commit is contained in:
torsten committed 2026-11-11 21:37:09 +00:00
1 parent 59d1ef5b61
commit 3d91d27c49
1 file changed
+2 -2
@@ -118,8 +118,8 @@ if(QT6_GUI_AVAILABLE)
NGLLogger NGLLogger
nglsettings nglsettings
ngltools ngltools
situationMapElevationMap $<IF:$<TARGET_EXISTS:situationMapElevationMap>,situationMapElevationMap,>
Trajectory $<IF:$<TARGET_EXISTS:Trajectory>,Trajectory,>
ngldb ngldb
) )
endif() endif()