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

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

target_include_directories(mbgl-loop-uv
    PUBLIC include
    PRIVATE src
)

create_source_groups(mbgl-loop-uv)
target_append_xcconfig(mbgl-loop-uv)