Files
MapLibreParticleLab/vendor/parsedate.cmake
Thiago Marcos P. Santos 427d785848 [build] Make csscolorparser and parsedate vendors
They have a different license from the rest of the code
and this will make it explicit. Also the script for generating
the license will dectect them correctly.
2020-02-27 18:19:31 +02:00

28 lines
653 B
CMake

if(TARGET mbgl-vendor-parsedate)
return()
endif()
add_library(
mbgl-vendor-parsedate STATIC
${CMAKE_CURRENT_LIST_DIR}/parsedate/parsedate.cpp
)
target_link_libraries(
mbgl-vendor-parsedate
PRIVATE mbgl-compiler-options
)
target_include_directories(
mbgl-vendor-parsedate SYSTEM
PUBLIC ${CMAKE_CURRENT_LIST_DIR}/parsedate
)
set_target_properties(
mbgl-vendor-parsedate
PROPERTIES
INTERFACE_MAPBOX_NAME "parsedate"
INTERFACE_MAPBOX_URL "https://curl.haxx.se"
INTERFACE_MAPBOX_AUTHOR "Daniel Stenberg and others"
INTERFACE_MAPBOX_LICENSE ${CMAKE_CURRENT_LIST_DIR}/parsedate/COPYING
)