Fix the number variable comparison when Qt is not found.

This commit is contained in:
Stephen Kelly 2012-05-03 17:40:04 +02:00
parent 1dfe15c431
commit 37a28ffa36
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ ELSE( Qt4_FIND_COMPONENTS )
ENDIF( Qt4_FIND_COMPONENTS )
if (${QT_VERSION_MAJOR} GREATER 4)
if (QT_VERSION_MAJOR GREATER 4)
SET(VERSION_MSG "Found unsuitable Qt version \"${QTVERSION}\" from ${QT_QMAKE_EXECUTABLE}")
SET(QT4_FOUND FALSE)
IF(Qt4_FIND_REQUIRED)