summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2019-11-25 16:11:17 +0200
committerSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2019-11-26 16:25:05 +0200
commit5538350b37018c8ec6768f8000cb883838726b9d (patch)
tree3964ad1aefb6fe80ee79e38a1911f13e95e262e9
parentd98807196eee22083ceb4b075f32a0b3433770c9 (diff)
downloadqtlocation-mapboxgl-5538350b37018c8ec6768f8000cb883838726b9d.tar.gz
[build] Add an option to include platform specific implementation
Add an option to include platform specific implementation sources to mbgl-core.
-rw-r--r--next/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/next/CMakeLists.txt b/next/CMakeLists.txt
index aa26e3a572..41a4953ce1 100644
--- a/next/CMakeLists.txt
+++ b/next/CMakeLists.txt
@@ -931,6 +931,10 @@ add_library(
Mapbox::Map ALIAS mbgl-core
)
+if(MBGL_WITH_PLATFORM_EXTRAS)
+ include(${MBGL_WITH_PLATFORM_EXTRAS})
+endif()
+
if(MBGL_WITH_CORE_ONLY)
return()
elseif(MBGL_WITH_QT)