summaryrefslogtreecommitdiff
path: root/cmake/loop-uv.cmake
blob: 320545b3c30cffad21cb579bf9eb1207f11bc857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
add_library(mbgl-loop-uv INTERFACE)

target_sources(mbgl-loop-uv INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/src/mbgl/util/async_task.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/src/mbgl/util/run_loop.cpp
    ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/src/mbgl/util/timer.cpp
)

target_include_directories(mbgl-loop-uv INTERFACE
    ${CMAKE_CURRENT_SOURCE_DIR}/include
    ${CMAKE_CURRENT_SOURCE_DIR}/src
)

create_source_groups(mbgl-loop-uv)