ladybird/Meta/CMake/fontconfig.cmake
Andrew Kaster e65eff22e8 CMake: Add include_guard() statements to fontconfig and vulkan
This should prevent extra calls to find_package() from causing
issues.
2024-11-08 11:10:31 -07:00

7 lines
187 B
CMake

include_guard()
if (NOT APPLE AND NOT ANDROID)
find_package(Fontconfig REQUIRED)
set(HAS_FONTCONFIG ON CACHE BOOL "" FORCE)
add_compile_definitions(USE_FONTCONFIG=1)
endif()