summaryrefslogtreecommitdiff
path: root/vendor/protozero.cmake
blob: c3d3d7c641ee60158e96783e7668d4852f82ee26 (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-protozero)
    return()
endif()

add_library(
    mbgl-vendor-protozero INTERFACE
)

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

set_target_properties(
    mbgl-vendor-protozero
    PROPERTIES
        INTERFACE_MAPBOX_NAME "protozero"
        INTERFACE_MAPBOX_URL "https://github.com/mapbox/protozero"
        INTERFACE_MAPBOX_AUTHOR "Mapbox"
        INTERFACE_MAPBOX_LICENSE ${CMAKE_CURRENT_LIST_DIR}/protozero/LICENSE.md
)