Skip to content

Commit

Permalink
Include freetype2 library when compiling on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-graner committed Oct 28, 2024
1 parent ad8047d commit 329e47f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ ifeq ($(TILES), 1)
LDFLAGS += -lSDL2_mixer
endif
endif
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags freetype2)
LDFLAGS += $(shell $(PKG_CONFIG) --libs freetype2)
else ifneq ($(NATIVE),emscripten)
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags sdl2)
CXXFLAGS += $(shell $(PKG_CONFIG) --cflags SDL2_image SDL2_ttf)
Expand Down

0 comments on commit 329e47f

Please sign in to comment.