summaryrefslogtreecommitdiff
path: root/cmake/loop-uv.cmake
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-04-29 16:08:16 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2018-05-04 07:19:36 -0700
commite423ef5609cd738c07180d11744d4a45ffb3f82f (patch)
tree33c1da1b953206769c1fdb2c73ead51c32772070 /cmake/loop-uv.cmake
parent27b21363e62c105db0b040b4c5a5ef31170ebd30 (diff)
downloadqtlocation-mapboxgl-e423ef5609cd738c07180d11744d4a45ffb3f82f.tar.gz
[linux] Don't compile linux mbgl-loop-uv against node headers
Previously, `target_include_directories(mbgl-loop-uv PUBLIC ${NODEJS_INCLUDE_DIRS})` always applied. Compiles were working by accident because node is always installed in CI. Instead, split and inline loop-uv.cmake contents: linux uses `target_add_mason_package(mbgl-loop-uv PUBLIC libuv)`, node uses `target_include_directories(mbgl-loop-node PUBLIC ${NODEJS_INCLUDE_DIRS})`.
Diffstat (limited to 'cmake/loop-uv.cmake')
-rw-r--r--cmake/loop-uv.cmake18
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/loop-uv.cmake b/cmake/loop-uv.cmake
deleted file mode 100644
index f4e7ced00e..0000000000
--- a/cmake/loop-uv.cmake
+++ /dev/null
@@ -1,18 +0,0 @@
-add_library(mbgl-loop-uv STATIC
- platform/default/async_task.cpp
- platform/default/run_loop.cpp
- platform/default/timer.cpp
-)
-
-target_include_directories(mbgl-loop-uv
- PRIVATE include
- PRIVATE src
-)
-
-target_link_libraries(mbgl-loop-uv
- PRIVATE mbgl-core
-)
-
-create_source_groups(mbgl-loop-uv)
-
-xcode_create_scheme(TARGET mbgl-loop-uv) \ No newline at end of file