Fix cmake/FindFreetype.cmake a bit

This commit is contained in:
heinrich5991 2017-03-18 02:10:10 +01:00 committed by necropotame
parent efb43ddff8
commit ec0f0b28d7

View file

@ -2,7 +2,7 @@ find_package(PkgConfig QUIET)
pkg_check_modules(PC_FREETYPE freetype2)
set_extra_dirs(FREETYPE freetype)
find_path(FREETYPE_INCLUDEDIR ft2build.h
find_path(FREETYPE_INCLUDEDIR freetype/config/ftheader.h
PATH_SUFFIXES freetype2
HINTS ${PC_FREETYPE_INCLUDEDIR} ${PC_FREETYPE_INCLUDE_DIRS}
PATHS ${EXTRA_FREETYPE_INCLUDEDIR}