aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindFreetype.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/FindFreetype.cmake b/modules/FindFreetype.cmake
index fae1a65c..d2821931 100644
--- a/modules/FindFreetype.cmake
+++ b/modules/FindFreetype.cmake
@@ -50,6 +50,7 @@ else (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR)
else(FREETYPECONFIG_EXECUTABLE)
find_path (FREETYPE_INCLUDE_DIR freetype2/freetype/freetype.h)
+ set (FREETYPE_INCLUDE_DIR ${FREETYPE_INCLUDE_DIR}/freetype2)
find_library(FREETYPE_LIBRARIES freetype)
if(FREETYPE_INCLUDE_DIR AND FREETYPE_LIBRARIES)
set(FREETYPE_FOUND TRUE)