summaryrefslogtreecommitdiff
path: root/cmake/loop-uv.cmake
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-21 16:46:49 -0800
committerKonstantin Käfer <mail@kkaefer.com>2017-03-28 13:53:19 +0200
commit321d820a87b37ecd4656b8c5adf585f2f00e09e2 (patch)
treece76fd1dcdf786ad249f36b7e70e130af1a04563 /cmake/loop-uv.cmake
parent306b895dadefff7af3deb390fb13e2ea12a3ebc7 (diff)
downloadqtlocation-mapboxgl-321d820a87b37ecd4656b8c5adf585f2f00e09e2.tar.gz
[node] Eliminate src as an include path
Diffstat (limited to 'cmake/loop-uv.cmake')
-rw-r--r--cmake/loop-uv.cmake11
1 files changed, 5 insertions, 6 deletions
diff --git a/cmake/loop-uv.cmake b/cmake/loop-uv.cmake
index d44f43580c..9844daf205 100644
--- a/cmake/loop-uv.cmake
+++ b/cmake/loop-uv.cmake
@@ -1,19 +1,18 @@
-add_library(mbgl-loop STATIC
+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
+target_compile_options(mbgl-loop-uv
PRIVATE -fPIC
PRIVATE -fvisibility-inlines-hidden
)
-target_include_directories(mbgl-loop
+target_include_directories(mbgl-loop-uv
PUBLIC include
PRIVATE src
)
-target_add_mason_package(mbgl-loop PUBLIC libuv)
-
-create_source_groups(mbgl-loop)
+create_source_groups(mbgl-loop-uv)
+target_append_xcconfig(mbgl-loop-uv)