make mbgl-core public when building amalgamation (#4043)
This commit is contained in:
@@ -132,6 +132,13 @@ else()
|
|||||||
add_library(mbgl-core STATIC)
|
add_library(mbgl-core STATIC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Override visibility for mbgl-core when building amalgamation
|
||||||
|
if(MLN_CREATE_AMALGAMATION)
|
||||||
|
target_compile_options(mbgl-core PRIVATE
|
||||||
|
-fvisibility=default
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND INCLUDE_FILES
|
list(APPEND INCLUDE_FILES
|
||||||
${PROJECT_SOURCE_DIR}/include/mbgl/gfx/context.hpp
|
${PROJECT_SOURCE_DIR}/include/mbgl/gfx/context.hpp
|
||||||
${PROJECT_SOURCE_DIR}/include/mbgl/gfx/drawable.hpp
|
${PROJECT_SOURCE_DIR}/include/mbgl/gfx/drawable.hpp
|
||||||
|
|||||||
Reference in New Issue
Block a user