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

9 lines
373 B
CMake

# SimpleJNI dependency configuration
# FetchContent causes problems with the vcpkg toolchain
# So we use git submodules instead and add_subdirectory() AFTER project()
add_subdirectory(${SimpleJNI_SOURCE_DIR} EXCLUDE_FROM_ALL SYSTEM)
target_include_directories(maplibre-jni SYSTEM PRIVATE ${SIMPLEJNI_HEADERS_DIR})
target_link_libraries(maplibre-jni PRIVATE smjni::smjni)