From dbde1adaa305852e400a598bed992296b0ebfa52 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Tue, 17 Jun 2025 19:31:43 -0500 Subject: [PATCH] Additional maplibre-native updates --- external/maplibre-native | 2 +- external/maplibre-native-qt.cmake | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/external/maplibre-native b/external/maplibre-native index 5dc28064..3654f5fa 160000 --- a/external/maplibre-native +++ b/external/maplibre-native @@ -1 +1 @@ -Subproject commit 5dc2806426ea6483b6b399f5e1bc9062edf19471 +Subproject commit 3654f5fa9f06534d7fd2d95b810049a82e5953ef diff --git a/external/maplibre-native-qt.cmake b/external/maplibre-native-qt.cmake index 736c6049..7db42c10 100644 --- a/external/maplibre-native-qt.cmake +++ b/external/maplibre-native-qt.cmake @@ -35,6 +35,12 @@ else() target_compile_options(MLNQtCore PRIVATE "$<$:-g>") endif() +if (APPLE) + # Enable GL check error debug + target_compile_definitions(mbgl-core PRIVATE MLN_GL_CHECK_ERRORS=1) + target_compile_definitions(MLNQtCore PRIVATE MLN_GL_CHECK_ERRORS=1) +endif() + set(MLN_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/maplibre-native/include ${CMAKE_CURRENT_SOURCE_DIR}/maplibre-native-qt/src/core/include ${CMAKE_CURRENT_BINARY_DIR}/maplibre-native-qt/src/core/include PARENT_SCOPE)