summaryrefslogtreecommitdiff
path: root/vendor/earcut.hpp.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/earcut.hpp.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/earcut.hpp.cmake')
-rw-r--r--vendor/earcut.hpp.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/earcut.hpp.cmake b/vendor/earcut.hpp.cmake
index 1f0ad2be6b..69559d1109 100644
--- a/vendor/earcut.hpp.cmake
+++ b/vendor/earcut.hpp.cmake
@@ -10,3 +10,12 @@ target_include_directories(
mbgl-vendor-earcut.hpp SYSTEM
INTERFACE ${CMAKE_CURRENT_LIST_DIR}/earcut.hpp/include
)
+
+set_target_properties(
+ mbgl-vendor-earcut.hpp
+ PROPERTIES
+ INTERFACE_MAPBOX_NAME "earcut.hpp"
+ INTERFACE_MAPBOX_URL "https://github.com/mapbox/earcut.hpp"
+ INTERFACE_MAPBOX_AUTHOR "Mapbox"
+ INTERFACE_MAPBOX_LICENSE ${CMAKE_CURRENT_LIST_DIR}/earcut.hpp/LICENSE
+)