diff options
author | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-12-09 12:24:28 (GMT) |
---|---|---|
committer | Daniele E. Domenichelli <daniele.domenichelli@iit.it> | 2013-12-09 12:24:28 (GMT) |
commit | 7435ae7c97590a0713d86b63add761d5e1607ec1 (patch) | |
tree | 4b9e41963bb6cb5a22bcd17083bd6de16bf44597 /Modules | |
parent | 0ea589fdfcd9082122829d4959adc842cacbc558 (diff) | |
download | CMake-7435ae7c97590a0713d86b63add761d5e1607ec1.zip CMake-7435ae7c97590a0713d86b63add761d5e1607ec1.tar.gz CMake-7435ae7c97590a0713d86b63add761d5e1607ec1.tar.bz2 |
FindFreetype: Find ftheader.h with Freetype 2.5
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindFreetype.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake index 179dc00..9520f7d 100644 --- a/Modules/FindFreetype.cmake +++ b/Modules/FindFreetype.cmake @@ -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 |