13 lines
460 B
CMake
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
|
|
)
|