Skip to content
Permalink
Browse files

fix Qt test for CMake 2.6

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13006 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 5, 2010
1 parent b0b734e commit 7f92b8cf6730a2c705930c37c32ca05e3c954116
Showing with 2 additions and 1 deletion.
  1. +2 −1 CMakeLists.txt
@@ -170,7 +170,8 @@ ENDIF (SPATIALITE_FOUND)

#############################################################
# 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!")

0 comments on commit 7f92b8c

Please sign in to comment.
You can’t perform that action at this time.