From c873b4db42b075775d5721dc20a6d0cfe005d943 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Tue, 3 Oct 2023 11:15:30 +0000 Subject: [PATCH] disable MLN_LEGACY_RENDERER when MLN_DRAWABLE_RENDERER --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f35ec847..fdaede69f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,10 @@ add_library( set(UBSAN_BLACKLIST ${PROJECT_SOURCE_DIR}/scripts/ubsan.blacklist) +if (MLN_DRAWABLE_RENDERER) + set(MLN_LEGACY_RENDERER OFF) +endif() + target_compile_options( mbgl-compiler-options INTERFACE