[cmake] Declare renderer backend as public (#3717)
This commit is contained in:
@@ -205,10 +205,6 @@ if(MLN_WITH_OPENGL)
|
||||
${PROJECT_SOURCE_DIR}/android_gl_renderer_backend.cpp
|
||||
${PROJECT_SOURCE_DIR}/android_gl_renderer_backend.hpp
|
||||
)
|
||||
target_compile_definitions(
|
||||
maplibre
|
||||
PRIVATE MLN_RENDER_BACKEND_OPENGL=1
|
||||
)
|
||||
endif()
|
||||
|
||||
if(MLN_WITH_VULKAN)
|
||||
@@ -217,10 +213,6 @@ if(MLN_WITH_VULKAN)
|
||||
${PROJECT_SOURCE_DIR}/android_vulkan_renderer_backend.cpp
|
||||
${PROJECT_SOURCE_DIR}/android_vulkan_renderer_backend.hpp
|
||||
)
|
||||
target_compile_definitions(
|
||||
maplibre
|
||||
PRIVATE MLN_RENDER_BACKEND_VULKAN=1
|
||||
)
|
||||
endif()
|
||||
|
||||
target_include_directories(
|
||||
|
||||
Reference in New Issue
Block a user