From: <and...@us...> - 2008-07-17 06:52:41
|
Revision: 8518 http://plplot.svn.sourceforge.net/plplot/?rev=8518&view=rev Author: andrewross Date: 2008-07-17 06:52:50 +0000 (Thu, 17 Jul 2008) Log Message: ----------- TK_LIBRARY is not a suitable replacement for ITK_LIBRARY. This causes the tk build to fail on debian testing with cmake 2.6.0 (although it seems ok on my older system with cmake 2.4). Modified Paths: -------------- trunk/cmake/modules/tcl-related.cmake Modified: trunk/cmake/modules/tcl-related.cmake =================================================================== --- trunk/cmake/modules/tcl-related.cmake 2008-07-17 06:50:25 UTC (rev 8517) +++ trunk/cmake/modules/tcl-related.cmake 2008-07-17 06:52:50 UTC (rev 8518) @@ -152,7 +152,7 @@ message(STATUS "Looking for itk library") set(itk_library_versions 3.4 3.3 3.2 3.1 3.0 2.1 2.0) foreach(version ${itk_library_versions}) - find_library(ITK_LIBRARY itk${version} ${TK_LIBRARY} + find_library(ITK_LIBRARY itk${version} PATH_SUFFIXES itk${version}) endforeach(version ${itk_library_versions}) if(ITK_LIBRARY) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |