[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user