mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 15:10:19 +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: https://github.com/LadybirdBrowser/ladybird/commit/e65eff22e87 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…
Reference in a new issue