Merge topic 'findfreetype-13502'

9d91fc6 fix for discovering ft2build.h using FREETYPE_DIR environment var (#13502)
This commit is contained in:
Brad King 2012-09-11 15:01:25 -04:00 committed by CMake Topic Stage
commit 53568bd9b5
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