aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/FindFreetype.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/FindFreetype.cmake b/modules/FindFreetype.cmake
index 89b70a61..fae1a65c 100644
--- a/modules/FindFreetype.cmake
+++ b/modules/FindFreetype.cmake
@@ -49,9 +49,7 @@ else (FREETYPE_LIBRARIES AND FREETYPE_INCLUDE_DIR)
set( FREETYPE_LIBRARIES ${FREETYPE_LIBRARIES} CACHE INTERNAL "The libraries for freetype" )
else(FREETYPECONFIG_EXECUTABLE)
- find_path (FREETYPE_INCLUDE_DIR freetype/freetype.h
- ${CMAKE_INCLUDE_PATH}/freetype2
- )
+ find_path (FREETYPE_INCLUDE_DIR freetype2/freetype/freetype.h)
find_library(FREETYPE_LIBRARIES freetype)
if(FREETYPE_INCLUDE_DIR AND FREETYPE_LIBRARIES)
set(FREETYPE_FOUND TRUE)