cvs: gd /libgd/cmake/modules FindFreetype.cmake

From: Date: Wed, 07 Mar 2007 15:52:08 +0000
Subject: cvs: gd /libgd/cmake/modules FindFreetype.cmake
Groups: php.gd.cvs 
Request: Send a blank email to php-gd-cvs+get-141@lists.php.net to get a copy of this message
pajoye Wed Mar 7 15:52:08 2007 UTC Modified files: /gd/libgd/cmake/modules FindFreetype.cmake Log: - windows may have freetype2.lib http://cvs.php.net/viewvc.cgi/gd/libgd/cmake/modules/FindFreetype.cmake?r1=1.2&r2=1.3&diff_format=u Index: gd/libgd/cmake/modules/FindFreetype.cmake diff -u gd/libgd/cmake/modules/FindFreetype.cmake:1.2 gd/libgd/cmake/modules/FindFreetype.cmake:1.3 --- gd/libgd/cmake/modules/FindFreetype.cmake:1.2 Thu Jan 25 00:08:59 2007 +++ gd/libgd/cmake/modules/FindFreetype.cmake Wed Mar 7 15:52:08 2007 @@ -20,12 +20,13 @@ /usr/local/include/freetype2 ) -FIND_LIBRARY(FREETYPE_LIBRARY freetype +FIND_LIBRARY(FREETYPE_LIBRARY NAMES freetype freetype2 + PATHS /usr/lib64 /usr/lib /usr/local/lib ) - +MESSAGE("FT2 lib found: " ${FREETYPE_LIBRARY}) IF (FREETYPE_LIBRARY) IF (FREETYPE_INCLUDE_DIR_FTHEADER AND FREETYPE_INCLUDE_DIR_FT2BUILD) SET( FREETYPE_FOUND "YES" )

« previous php.gd.cvs (#141) next »