summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-12-09 12:24:28 (GMT)
committerDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-12-09 12:24:28 (GMT)
commit7435ae7c97590a0713d86b63add761d5e1607ec1 (patch)
tree4b9e41963bb6cb5a22bcd17083bd6de16bf44597 /Modules
parent0ea589fdfcd9082122829d4959adc842cacbc558 (diff)
downloadCMake-7435ae7c97590a0713d86b63add761d5e1607ec1.zip
CMake-7435ae7c97590a0713d86b63add761d5e1607ec1.tar.gz
CMake-7435ae7c97590a0713d86b63add761d5e1607ec1.tar.bz2
FindFreetype: Find ftheader.h with Freetype 2.5
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindFreetype.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake
index 179dc00..9520f7d 100644
--- a/Modules/FindFreetype.cmake
+++ b/Modules/FindFreetype.cmake
@@ -65,7 +65,10 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
PATH_SUFFIXES include/freetype2 include
)
-find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h
+find_path(FREETYPE_INCLUDE_DIR_freetype2
+ NAMES
+ freetype/config/ftheader.h
+ config/ftheader.h
HINTS
ENV FREETYPE_DIR
PATHS