diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-04-20 16:40:17 +0300 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-05-22 11:17:01 +0200 |
commit | d1a266b3e68d052d1478382795598bf2ff28da6a (patch) | |
tree | d303f378e1c959397b23739fbb9b06697da024e5 /cmake/loop-uv.cmake | |
parent | 973aa963f917df2c20a05dfea1b3af7314677e06 (diff) | |
download | qtlocation-mapboxgl-d1a266b3e68d052d1478382795598bf2ff28da6a.tar.gz |
[node] allow building all ABIs at once
Diffstat (limited to 'cmake/loop-uv.cmake')
-rw-r--r-- | cmake/loop-uv.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/loop-uv.cmake b/cmake/loop-uv.cmake new file mode 100644 index 0000000000..e1d3166b63 --- /dev/null +++ b/cmake/loop-uv.cmake @@ -0,0 +1,14 @@ +add_library(mbgl-loop-uv INTERFACE) + +target_sources(mbgl-loop-uv INTERFACE + ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/async_task.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/run_loop.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/platform/default/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) |