mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
CMake: Fix invalid target when using system skia
Commit 35392d4d28
moved the
target_*_directories() calls (or rather their include()) before the
target declaration, so they fail because of the undefined target.
We can fix the problem by using global *_directories() instead.
This commit is contained in:
parent
d0da377767
commit
d6303c9da9
Notes:
github-actions[bot]
2024-08-12 16:21:58 +00:00
Author: https://github.com/fgaz Commit: https://github.com/LadybirdBrowser/ladybird/commit/d6303c9da95 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1050
1 changed files with 2 additions and 2 deletions
|
@ -17,6 +17,6 @@ else()
|
|||
endforeach()
|
||||
|
||||
pkg_check_modules(SKIA skia=${SKIA_REQUIRED_VERSION} REQUIRED)
|
||||
target_include_directories(LibWeb PRIVATE ${SKIA_INCLUDE_DIRS})
|
||||
target_link_directories(LibWeb PRIVATE ${SKIA_LIBRARY_DIRS})
|
||||
include_directories(${SKIA_INCLUDE_DIRS})
|
||||
link_directories(${SKIA_LIBRARY_DIRS})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue