diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-02-21 16:46:49 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-03-28 13:53:19 +0200 |
commit | 321d820a87b37ecd4656b8c5adf585f2f00e09e2 (patch) | |
tree | ce76fd1dcdf786ad249f36b7e70e130af1a04563 /cmake/loop-uv.cmake | |
parent | 306b895dadefff7af3deb390fb13e2ea12a3ebc7 (diff) | |
download | qtlocation-mapboxgl-321d820a87b37ecd4656b8c5adf585f2f00e09e2.tar.gz |
[node] Eliminate src as an include path
Diffstat (limited to 'cmake/loop-uv.cmake')
-rw-r--r-- | cmake/loop-uv.cmake | 11 |
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) |