From: <ai...@us...> - 2009-08-27 00:50:27
|
Revision: 10349 http://plplot.svn.sourceforge.net/plplot/?rev=10349&view=rev Author: airwin Date: 2009-08-27 00:26:35 +0000 (Thu, 27 Aug 2009) Log Message: ----------- Deal properly with the case where the Qt4 development environment is not found. Modified Paths: -------------- trunk/cmake/modules/qt.cmake Modified: trunk/cmake/modules/qt.cmake =================================================================== --- trunk/cmake/modules/qt.cmake 2009-08-26 21:07:02 UTC (rev 10348) +++ trunk/cmake/modules/qt.cmake 2009-08-27 00:26:35 UTC (rev 10349) @@ -81,6 +81,11 @@ set(qt_LINK_FLAGS) set(qt_RPATH ${QT_LIBRARY_DIR}) #message("qt_LIBRARY_DIR = ${qt_LIBRARY_DIR}") + else(QT4_FOUND) + message(STATUS "WARNING: Qt4 development environment not found so " + "disabling all qt devices." + ) + set(ANY_QT_DEVICE OFF) endif(QT4_FOUND) endif(ANY_QT_DEVICE) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |