summaryrefslogtreecommitdiff
path: root/cmake/core.cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-08-20 13:32:44 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-08-20 19:11:31 +0200
commitbded6c65d59b6da9e7cd6d4787e5f707a62a8285 (patch)
tree3aceee126b9892bcd9625c1c6962c8ef87ce8bf3 /cmake/core.cmake
parent1b4398f7aab99f6604f56957209551fb7372a9d6 (diff)
downloadqtlocation-mapboxgl-bded6c65d59b6da9e7cd6d4787e5f707a62a8285.tar.gz
[build] use plain text files for file lists to simplify integration with other build systems
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