1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

Add optional fontconfig support.

This commit is contained in:
Dennis Payne
2021-12-31 17:36:50 -05:00
parent 064ac7de63
commit 3023b12e93
2 changed files with 41 additions and 2 deletions

View File

@@ -103,6 +103,10 @@ ifeq (${TOOLCHAIN},mingw)
CXXFLAGS_EARLY += -Wno-invalid-offsetof
endif
ifeq (${FONTCONFIG},1)
CXXFLAGS_EARLY += -DFONTCONFIG `pkg-config --cflags fontconfig`
LDFLAGS_EARLY += `pkg-config --libs fontconfig`
endif
## We have now finished OS-specific and TOOLCHAIN-specific computations.
## Begin customization points for user-specifiable HYPERROGUE_USE_XXX macros.