We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3249d77 commit 95b2370Copy full SHA for 95b2370
CMakeLists.txt
@@ -170,7 +170,8 @@ ENDIF (SPATIALITE_FOUND)
170
171
#############################################################
172
# search for Qt4
173
-FIND_PACKAGE(Qt4 4.4 COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtSql QtWebKit REQUIRED)
+SET(QT_MIN_VERSION 4.4.0)
174
+FIND_PACKAGE(Qt4 ${QT_MIN_VERSION} COMPONENTS QtCore QtGui QtXml QtNetwork QtSvg QtSql QtWebKit REQUIRED)
175
176
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)
177
MESSAGE(SEND_ERROR "Some Qt4 modules haven't been found!")
0 commit comments