Files
MapLibreParticleLab/vendor/unique_resource.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
576 B
CMake

if(TARGET mbgl-vendor-unique_resource)
return()
endif()
add_library(
mbgl-vendor-unique_resource INTERFACE
)
target_include_directories(
mbgl-vendor-unique_resource SYSTEM
INTERFACE ${CMAKE_CURRENT_LIST_DIR}/unique_resource
)
set_target_properties(
mbgl-vendor-unique_resource
PROPERTIES
INTERFACE_MAPBOX_NAME "unique_resource"
INTERFACE_MAPBOX_URL "https://github.com/okdshin/unique_resource"
INTERFACE_MAPBOX_AUTHOR "Shintarou Okada"
INTERFACE_MAPBOX_LICENSE ${CMAKE_CURRENT_LIST_DIR}/unique_resource/LICENSE.txt
)