mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 06:06:48 +00:00
CMake: Set SKCMS_API to default visibility for non-vcpkg skia as well
This commit is contained in:
parent
9df7eb2e1b
commit
5878715889
Notes:
github-actions[bot]
2025-07-07 10:48:32 +00:00
Author: https://github.com/ADKaster
Commit: 5878715889
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5325
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue