Move dependencies from maplibre-native-base to vendor (#3829)

This commit is contained in:
Bart Louwers
2025-09-25 14:17:32 +02:00
committed by GitHub
parent 0726a55a71
commit bb42ed111b
32 changed files with 242 additions and 130 deletions

21
vendor/expected-lite.cmake vendored Normal file
View File

@@ -0,0 +1,21 @@
if(TARGET mbgl-vendor-expected-lite)
return()
endif()
add_library(
mbgl-vendor-expected-lite INTERFACE
)
target_include_directories(
mbgl-vendor-expected-lite SYSTEM
INTERFACE ${CMAKE_CURRENT_LIST_DIR}/expected-lite/include
)
set_target_properties(
mbgl-vendor-expected-lite
PROPERTIES
INTERFACE_MAPLIBRE_NAME "expected-lite"
INTERFACE_MAPLIBRE_URL "https://github.com/martinmoene/expected-lite"
INTERFACE_MAPLIBRE_AUTHOR "Martin Moene"
INTERFACE_MAPLIBRE_LICENSE ${CMAKE_CURRENT_LIST_DIR}/expected-lite/LICENSE.txt
)