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