fix for discovering ft2build.h using FREETYPE_DIR environment var (#13502)

This commit is contained in:
Sergei Nikulov 2012-08-31 12:24:37 +04:00 committed by Rolf Eike Beer
parent 8797df41b2
commit 9d91fc65fa
1 changed files with 4 additions and 3 deletions

View File

@ -46,9 +46,10 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h
HINTS HINTS
ENV FREETYPE_DIR ENV FREETYPE_DIR
PATHS PATHS
/usr/local/X11R6/include /usr/local/X11R6
/usr/local/X11/include /usr/local/X11
/usr/freeware/include /usr/freeware
PATH_SUFFIXES include/freetype2 include
) )
find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h