From b091d296950a5f11b86e49fb6122e759d915acee Mon Sep 17 00:00:00 2001 From: twi-devel Date: Tue, 13 Oct 2026 12:15:36 +0200 Subject: [PATCH] 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> --- .../Lts/Viewer/SituationMap/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/CMakeLists.txt index af3ed2062..b3d20fef1 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/CMakeLists.txt @@ -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)