1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 23:06:00 +00:00

Merge pull request #300 from dulsi/master

Add optional fontconfig support.
This commit is contained in:
Zeno Rogue
2023-05-15 19:16:18 +02:00
committed by GitHub
2 changed files with 41 additions and 2 deletions

View File

@@ -102,6 +102,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.