mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
CMake: Set SKCMS_API to default visibility for non-vcpkg skia as well
This commit is contained in:
parent
9df7eb2e1b
commit
5878715889
|
|
@ -30,6 +30,7 @@ else()
|
|||
|
||||
pkg_check_modules(skia skia=${SKIA_REQUIRED_VERSION} REQUIRED IMPORTED_TARGET skia)
|
||||
set(SKIA_TARGET PkgConfig::skia)
|
||||
set_property(TARGET PkgConfig::skia APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS "SKCMS_API=__attribute__((visibility(\"default\")))")
|
||||
endif()
|
||||
swizzle_target_properties_for_swift(${SKIA_TARGET})
|
||||
add_library(skia ALIAS ${SKIA_TARGET})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user