[build] Add an option to include platform specific implementation

Add an option to include platform specific implementation sources
to mbgl-core.
This commit is contained in:
Sudarsana Babu Nagineni
2019-11-25 16:11:17 +02:00
parent 3600dd8a1a
commit 0f3eede6a6

View File

@@ -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)