File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -187,13 +187,18 @@ SET(QT_USE_QTXML 1)
187
187
SET (QT_USE_QTNETWORK 1 )
188
188
SET (QT_USE_QTSVG 1 )
189
189
SET (QT_USE_QTSQL 1 )
190
+
191
+ IF (NOT QT_QTXML_FOUND OR NOT QT_QTNETWORK_FOUND OR NOT QT_QTSVG_FOUND OR NOT QT_QTSQL_FOUND )
192
+ MESSAGE (SEND_ERROR "Some Qt4 modules haven't been found!" )
193
+ ENDIF (NOT QT_QTXML_FOUND OR NOT QT_QTNETWORK_FOUND OR NOT QT_QTSVG_FOUND OR NOT QT_QTSQL_FOUND )
194
+
190
195
IF (WITH_DESKTOP )
191
196
SET (QT_USE_QTWEBKIT 1 )
192
- ENDIF (WITH_DESKTOP )
193
197
194
- 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 )
195
- MESSAGE (SEND_ERROR "Some Qt4 modules haven't been found!" )
196
- ENDIF ()
198
+ IF (NOT QT_QTWEBKIT_FOUND )
199
+ MESSAGE (SEND_ERROR "Qt Webkit module required for QGIS Desktop!" )
200
+ ENDIF (NOT QT_QTWEBKIT_FOUND )
201
+ ENDIF (WITH_DESKTOP )
197
202
198
203
IF (ENABLE_TESTS )
199
204
SET ( QT_USE_QTTEST TRUE )
You can’t perform that action at this time.
0 commit comments