mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01: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
|
|
@ -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 New Issue
Block a user