mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 14:19:15 +00:00
CMake: Add include_guard() statements to fontconfig and vulkan
This should prevent extra calls to find_package() from causing issues.
This commit is contained in:
parent
c453761c3e
commit
e65eff22e8
Notes:
github-actions[bot]
2024-11-08 18:18:23 +00:00
Author: https://github.com/ADKaster
Commit: e65eff22e8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2214
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
include_guard()
|
||||
|
||||
if (NOT APPLE AND NOT ANDROID)
|
||||
find_package(Fontconfig REQUIRED)
|
||||
set(HAS_FONTCONFIG ON CACHE BOOL "" FORCE)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
include_guard()
|
||||
|
||||
if (NOT APPLE)
|
||||
find_package(VulkanHeaders CONFIG QUIET)
|
||||
find_package(Vulkan QUIET)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue