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 13:32:44 +0200
commitc9ab6ce58d95edab20b5c8e4e8a33b4f82335787 (patch)
tree019fbea3b3c1580fe2593aa50ac18f769134aec5 /cmake/core.cmake
parent112bbc7ab289298094d6e6593437a71ec8029caa (diff)
downloadqtlocation-mapboxgl-c9ab6ce58d95edab20b5c8e4e8a33b4f82335787.tar.gz
[build] use plain text files for file lists to simplify integration with other build systemsupstream/cmake-file-lists
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