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:
4
Makefile
4
Makefile
@@ -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.
|
||||
|
Reference in New Issue
Block a user