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:
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()
|
||||||
|
|||||||
Reference in new issue
Block a user