Add GRAPHICSVIEW_SUPPORTED definition to situationMap target

MapGraphicsView.h requires GRAPHICSVIEW_SUPPORTED macro to be defined.
Added TARGET_COMPILE_DEFINITIONS to situationMap CMakeLists.txt.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-10-13 12:15:36 +02:00
1 parent e84c59e033
commit b091d29695
1 file changed
+3
@@ -440,6 +440,9 @@ NGL_TARGET_LINK_LIBRARIES(situationMap
ngltools
)
# GRAPHICSVIEW_SUPPORTED required for MapGraphicsView.h (ArcGIS SDK)
TARGET_COMPILE_DEFINITIONS(situationMap PRIVATE GRAPHICSVIEW_SUPPORTED)
# Copy on LIBchanges:
IF(TARGET situationMap)
SET(SYMBOLE_CSV symbole2.csv)