Files
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

13 lines
460 B
CMake

# MapLibre Native dependency configuration
# FetchContent causes problems with the vcpkg toolchain
# So we use git submodules instead and add_subdirectory() AFTER project()
add_subdirectory(${maplibre-native_SOURCE_DIR} EXCLUDE_FROM_ALL SYSTEM)
target_include_directories(maplibre-jni SYSTEM PRIVATE ${maplibre-native_SOURCE_DIR}/include)
target_link_libraries(maplibre-jni PRIVATE
Mapbox::Map
mbgl-compiler-options
mbgl-vendor-unique_resource
)