summaryrefslogtreecommitdiff
path: root/vendor/wagyu.cmake
blob: 829380213d7cd5b8e2e83a7d8dfc18453163e34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if(TARGET mbgl-vendor-wagyu)
    return()
endif()

add_library(
    mbgl-vendor-wagyu INTERFACE
)

target_include_directories(
    mbgl-vendor-wagyu SYSTEM
    INTERFACE ${CMAKE_CURRENT_LIST_DIR}/wagyu/include
)

set_target_properties(
    mbgl-vendor-wagyu
    PROPERTIES
        INTERFACE_MAPBOX_NAME "wagyu"
        INTERFACE_MAPBOX_URL "https://github.com/mapbox/wagyu.git"
        INTERFACE_MAPBOX_AUTHOR "Angus Johnson and Mapbox"
        INTERFACE_MAPBOX_LICENSE ${CMAKE_CURRENT_LIST_DIR}/wagyu/LICENSE
)