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

[email protected] ("Pierre-Alain Joye")
Newsgroups php.gd.cvs
Message-ID <cvspajoye1173282728@cvsserver>
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" )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.