summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-07-16 14:58:45 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-07-16 18:25:09 +0200
commit77894f0586244049f62682945ed358ca738aa8e0 (patch)
tree864fe3353efefe398195bf051e12c14041d5bc28 /cmake
parent561e55eb6c67f96ea05b471930bbd365dc44629d (diff)
downloadqtlocation-mapboxgl-77894f0586244049f62682945ed358ca738aa8e0.tar.gz
[core] treat parsedate as C++ file to remove C build rules
It is already wrapped with #ifdef __cplusplus extern "C", so we can safely compile it as C++ but retain C linkage
Diffstat (limited to 'cmake')
-rw-r--r--cmake/core-files.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake
index 7d7e887a76..204bb78bce 100644
--- a/cmake/core-files.cmake
+++ b/cmake/core-files.cmake
@@ -127,8 +127,8 @@ set(MBGL_CORE_FILES
src/mbgl/math/log2.cpp
# parsedate
- src/parsedate/parsedate.c
- src/parsedate/parsedate.h
+ src/parsedate/parsedate.cpp
+ src/parsedate/parsedate.hpp
# programs
src/mbgl/programs/attributes.hpp