Files
MapLibreParticleLab/vendor/vector-tile.cmake
Thiago Marcos P. Santos 242b719f0c [build] Generate the LICENSE.md for mbgl-core
Add a script that for everything we link against
mbgl-core, it will check the license and generate
a file all the dependencies listed with the respective
authors, project urls and license.
2020-02-27 18:19:31 +02:00

22 lines
538 B
CMake

if(TARGET mbgl-vendor-vector-tile)
return()
endif()
add_library(
mbgl-vendor-vector-tile INTERFACE
)
target_include_directories(
mbgl-vendor-vector-tile SYSTEM
INTERFACE ${CMAKE_CURRENT_LIST_DIR}/vector-tile/include
)
set_target_properties(
mbgl-vendor-vector-tile
PROPERTIES
INTERFACE_MAPBOX_NAME "vector-tile"
INTERFACE_MAPBOX_URL "https://github.com/mapbox/vector-tile"
INTERFACE_MAPBOX_AUTHOR "Mapbox"
INTERFACE_MAPBOX_LICENSE ${CMAKE_CURRENT_LIST_DIR}/vector-tile/LICENSE
)