From: <ai...@us...> - 2007-12-12 18:46:36
|
Revision: 8089 http://plplot.svn.sourceforge.net/plplot/?rev=8089&view=rev Author: airwin Date: 2007-12-12 10:46:35 -0800 (Wed, 12 Dec 2007) Log Message: ----------- Use the locally modified version of UseSWIG.cmake that stops the unnecessary swig rebuilds that you get with the official version. Later, when the fix propagates to the official version of that file for CMake, all we have to do is remove the local version of UseSWIG.cmake, and this modified include syntax in plplot.cmake will still work. Modified Paths: -------------- trunk/cmake/modules/plplot.cmake Modified: trunk/cmake/modules/plplot.cmake =================================================================== --- trunk/cmake/modules/plplot.cmake 2007-12-12 18:35:58 UTC (rev 8088) +++ trunk/cmake/modules/plplot.cmake 2007-12-12 18:46:35 UTC (rev 8089) @@ -221,7 +221,10 @@ endif(SWIG_FOUND) if(SWIG_FOUND) - include(${SWIG_USE_FILE}) + # Do not use "include(${SWIG_USE_FILE})" here since we want the option of + # using a locally modified version of UseSWIG.cmake if that exists rather + # than the official system version of that file. + include(UseSWIG) endif(SWIG_FOUND) # Find Perl. Required in several places in the build system (e.g., This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |