Merge topic 'findfreetype-13502'
9d91fc6
fix for discovering ft2build.h using FREETYPE_DIR environment var (#13502)
This commit is contained in:
commit
53568bd9b5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue