FindFreetype: Find ftheader.h with Freetype 2.5

This commit is contained in:
Daniele E. Domenichelli 2013-12-09 13:24:28 +01:00
parent 0ea589fdfc
commit 7435ae7c97
1 changed files with 4 additions and 1 deletions

View File

@ -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