summaryrefslogtreecommitdiff
path: root/cmake/benchmark.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/benchmark.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/benchmark.cmake')
-rw-r--r--cmake/benchmark.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/benchmark.cmake b/cmake/benchmark.cmake
index 98fa4dac63..5cac8cc8b6 100644
--- a/cmake/benchmark.cmake
+++ b/cmake/benchmark.cmake
@@ -1,6 +1,5 @@
-add_executable(mbgl-benchmark
- ${MBGL_BENCHMARK_FILES}
-)
+load_sources_list(MBGL_BENCHMARK_FILES cmake/benchmark-files.txt)
+add_executable(mbgl-benchmark ${MBGL_BENCHMARK_FILES})
target_include_directories(mbgl-benchmark
PRIVATE src