summaryrefslogtreecommitdiff
path: root/cmake/loop-uv.cmake
blob: d44f43580cd1d153f66d92e9d6d556e10863c480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_library(mbgl-loop STATIC
    platform/default/async_task.cpp
    platform/default/run_loop.cpp
    platform/default/timer.cpp
)

target_compile_options(mbgl-loop
    PRIVATE -fPIC
    PRIVATE -fvisibility-inlines-hidden
)

target_include_directories(mbgl-loop
    PUBLIC include
    PRIVATE src
)

target_add_mason_package(mbgl-loop PUBLIC libuv)

create_source_groups(mbgl-loop)