summaryrefslogtreecommitdiff
path: root/vendor/unique_resource.cmake
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-24 15:49:11 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-27 18:19:31 +0200
commit242b719f0cbb24b485e439edd0da5aedee87f444 (patch)
tree53455edff4a9ed6c60fddc20d060363f68709554 /vendor/unique_resource.cmake
parent1db92f3c6c8cc1977a89b2060cafef754e4dd34d (diff)
downloadqtlocation-mapboxgl-242b719f0cbb24b485e439edd0da5aedee87f444.tar.gz
[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.
Diffstat (limited to 'vendor/unique_resource.cmake')
-rw-r--r--vendor/unique_resource.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/unique_resource.cmake b/vendor/unique_resource.cmake
index 71f514d8e5..3585456450 100644
--- a/vendor/unique_resource.cmake
+++ b/vendor/unique_resource.cmake
@@ -10,3 +10,12 @@ 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
+)