mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
Similar to the existing macros for compile options and link options, this macro wraps the command line definitions for swiftc in a way that avoids warnings about conditional compilation flags not having values.
8 lines
191 B
CMake
8 lines
191 B
CMake
include_guard()
|
|
|
|
if (NOT APPLE AND NOT ANDROID)
|
|
find_package(Fontconfig REQUIRED)
|
|
set(HAS_FONTCONFIG ON CACHE BOOL "" FORCE)
|
|
add_cxx_compile_definitions(USE_FONTCONFIG=1)
|
|
endif()
|