summaryrefslogtreecommitdiff
path: root/cmake/loop-darwin.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/loop-darwin.cmake')
-rw-r--r--cmake/loop-darwin.cmake10
1 files changed, 4 insertions, 6 deletions
diff --git a/cmake/loop-darwin.cmake b/cmake/loop-darwin.cmake
index f60972902f..ef79eef01b 100644
--- a/cmake/loop-darwin.cmake
+++ b/cmake/loop-darwin.cmake
@@ -1,8 +1,6 @@
-add_library(mbgl-loop-darwin STATIC
- platform/darwin/src/async_task.cpp
- platform/darwin/src/run_loop.cpp
- platform/darwin/src/timer.cpp
-)
+# Modify platform/darwin/loop-files.txt to change the source files for this target.
+load_sources_list(MBGL_LOOP_DARWIN_FILES platform/darwin/loop-files.txt)
+add_library(mbgl-loop-darwin STATIC ${MBGL_LOOP_DARWIN_FILES})
target_include_directories(mbgl-loop-darwin
PRIVATE include
@@ -15,4 +13,4 @@ set_target_properties(mbgl-loop-darwin PROPERTIES FOLDER "Core")
initialize_xcode_cxx_build_settings(mbgl-loop-darwin)
-xcode_create_scheme(TARGET mbgl-loop-darwin) \ No newline at end of file
+xcode_create_scheme(TARGET mbgl-loop-darwin)