From: <ai...@us...> - 2009-06-28 15:22:21
|
Revision: 10091 http://plplot.svn.sourceforge.net/plplot/?rev=10091&view=rev Author: airwin Date: 2009-06-28 15:21:29 +0000 (Sun, 28 Jun 2009) Log Message: ----------- Only attempt to find Qt4 if there is at least one qt device enabled. Modified Paths: -------------- trunk/cmake/modules/qt.cmake Modified: trunk/cmake/modules/qt.cmake =================================================================== --- trunk/cmake/modules/qt.cmake 2009-06-28 08:53:18 UTC (rev 10090) +++ trunk/cmake/modules/qt.cmake 2009-06-28 15:21:29 UTC (rev 10091) @@ -50,12 +50,12 @@ # PYQT_SIP_DIR - sip system directory # PYQT_SIP_FLAGS - sip command flags -find_package(Qt4) if(PLD_bmpqt OR PLD_jpgqt OR PLD_pngqt OR PLD_ppmqt OR PLD_tiffqt OR PLD_epsqt OR PLD_pdfqt OR PLD_qtwidget OR PLD_svgqt OR PLD_extqt) set(ANY_QT_DEVICE ON) endif(PLD_bmpqt OR PLD_jpgqt OR PLD_pngqt OR PLD_ppmqt OR PLD_tiffqt OR PLD_epsqt OR PLD_pdfqt OR PLD_qtwidget OR PLD_svgqt OR PLD_extqt) if(ANY_QT_DEVICE) + find_package(Qt4) if(QT4_FOUND) if(PLD_svgqt AND ${QT_VERSION_MINOR} GREATER 2) set(QT_USE_QTSVG 1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |