[QGIS Commit] r13006 - trunk/qgis

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 5 07:49:30 EST 2010


Author: jef
Date: 2010-03-05 07:49:28 -0500 (Fri, 05 Mar 2010)
New Revision: 13006

Modified:
   trunk/qgis/CMakeLists.txt
Log:
fix Qt test for CMake 2.6

Modified: trunk/qgis/CMakeLists.txt
===================================================================
--- trunk/qgis/CMakeLists.txt	2010-03-05 12:28:08 UTC (rev 13005)
+++ trunk/qgis/CMakeLists.txt	2010-03-05 12:49:28 UTC (rev 13006)
@@ -170,7 +170,8 @@
 
 #############################################################
 # search for Qt4
-FIND_PACKAGE(Qt4 4.4 COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtSql QtWebKit REQUIRED)
+SET(QT_MIN_VERSION 4.4.0)
+FIND_PACKAGE(Qt4 ${QT_MIN_VERSION} COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtSql QtWebKit REQUIRED)
 
 IF (NOT QT_QTXML_FOUND OR NOT QT_QTNETWORK_FOUND OR NOT QT_QTSVG_FOUND OR NOT QT_QTSQL_FOUND OR NOT QT_QTWEBKIT_FOUND)
   MESSAGE(SEND_ERROR "Some Qt4 modules haven't been found!")



More information about the QGIS-commit mailing list