diff options
author | Sergei Nikulov <sergey.nikulov@gmail.com> | 2012-08-31 08:24:37 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-09-06 06:57:03 (GMT) |
commit | 9d91fc65fa955d6ba878a4f72a93a004b02af2a5 (patch) | |
tree | 76580774ab6c704cf68c14c66cd22ad3c17a1ea7 /Modules/FindFreetype.cmake | |
parent | 8797df41b285e7f17fdf1302e3b872ba94e110af (diff) | |
download | CMake-9d91fc65fa955d6ba878a4f72a93a004b02af2a5.zip CMake-9d91fc65fa955d6ba878a4f72a93a004b02af2a5.tar.gz CMake-9d91fc65fa955d6ba878a4f72a93a004b02af2a5.tar.bz2 |
fix for discovering ft2build.h using FREETYPE_DIR environment var (#13502)
Diffstat (limited to 'Modules/FindFreetype.cmake')
-rw-r--r-- | Modules/FindFreetype.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake index c7cf0eb..cdb46be 100644 --- a/Modules/FindFreetype.cmake +++ b/Modules/FindFreetype.cmake @@ -46,9 +46,10 @@ find_path(FREETYPE_INCLUDE_DIR_ft2build ft2build.h HINTS ENV FREETYPE_DIR PATHS - /usr/local/X11R6/include - /usr/local/X11/include - /usr/freeware/include + /usr/local/X11R6 + /usr/local/X11 + /usr/freeware + PATH_SUFFIXES include/freetype2 include ) find_path(FREETYPE_INCLUDE_DIR_freetype2 freetype/config/ftheader.h |