summaryrefslogtreecommitdiff
path: root/cmake/core.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/core.cmake')
-rw-r--r--cmake/core.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/core.cmake b/cmake/core.cmake
index 436c767182..d52f7ba32f 100644
--- a/cmake/core.cmake
+++ b/cmake/core.cmake
@@ -1,6 +1,5 @@
-add_library(mbgl-core STATIC
- ${MBGL_CORE_FILES}
-)
+load_sources_list(MBGL_CORE_FILES cmake/core-files.txt)
+add_library(mbgl-core STATIC ${MBGL_CORE_FILES})
target_include_directories(mbgl-core
PUBLIC include