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:23:36 +0200
commit0f3eede6a6d10a8e2669ffed967cacdb8def79bf (patch)
tree3cb0935ebe9096ddf272410ef7bb0cc129f4e5e5
parent3600dd8a1a4d91290d752d699ed964eab03bb1a5 (diff)
downloadqtlocation-mapboxgl-0f3eede6a6d10a8e2669ffed967cacdb8def79bf.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 ba8b0adb63..3828a4023c 100644
--- a/next/CMakeLists.txt
+++ b/next/CMakeLists.txt
@@ -949,6 +949,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)