summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sfml.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sfml.mk b/src/sfml.mk
index f0acf36..0a03adc 100644
--- a/src/sfml.mk
+++ b/src/sfml.mk
@@ -19,7 +19,8 @@ endef
define $(PKG)_BUILD
mkdir '$(1)/build'
cd '$(1)/build' && cmake .. \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
+ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
+ -DFREETYPE_INCLUDE_DIRS='$(PREFIX)/$(TARGET)/include/freetype2'
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install VERBOSE=1