Add optional fontconfig support.

This commit is contained in:
Dennis Payne
2022-02-08 12:44:51 -05:00
parent 064ac7de63
commit 3023b12e93
2 changed files with 41 additions and 2 deletions
+4
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.