make mbgl-core public when building amalgamation (#4043)
This commit is contained in:
@@ -132,6 +132,13 @@ else()
|
||||
add_library(mbgl-core STATIC)
|
||||
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
|
||||
${PROJECT_SOURCE_DIR}/include/mbgl/gfx/context.hpp
|
||||
${PROJECT_SOURCE_DIR}/include/mbgl/gfx/drawable.hpp
|
||||
|
||||
Reference in New Issue
Block a user