summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.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-darwin.cmake
parent306b895dadefff7af3deb390fb13e2ea12a3ebc7 (diff)
downloadqtlocation-mapboxgl-321d820a87b37ecd4656b8c5adf585f2f00e09e2.tar.gz
[node] Eliminate src as an include path
Diffstat (limited to 'cmake/loop-darwin.cmake')
-rw-r--r--cmake/loop-darwin.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake
index 7884c80a69..91fb74e00e 100644
--- a/cmake/loop-darwin.cmake
+++ b/cmake/loop-darwin.cmake
@@ -1,20 +1,20 @@
-add_library(mbgl-loop STATIC
+add_library(mbgl-loop-darwin STATIC
platform/darwin/src/async_task.cpp
platform/darwin/src/run_loop.cpp
platform/darwin/src/timer.cpp
)
-set_xcode_property(mbgl-loop GCC_SYMBOLS_PRIVATE_EXTERN YES)
+set_xcode_property(mbgl-loop-darwin GCC_SYMBOLS_PRIVATE_EXTERN YES)
-target_compile_options(mbgl-loop
+target_compile_options(mbgl-loop-darwin
PRIVATE -fPIC
PRIVATE -fvisibility-inlines-hidden
)
-target_include_directories(mbgl-loop
+target_include_directories(mbgl-loop-darwin
PUBLIC include
PRIVATE src
)
-create_source_groups(mbgl-loop)
-target_append_xcconfig(mbgl-loop)
+create_source_groups(mbgl-loop-darwin)
+target_append_xcconfig(mbgl-loop-darwin)