Fix the number variable comparison when Qt is not found.
This commit is contained in:
parent
1dfe15c431
commit
37a28ffa36
|
@ -1169,7 +1169,7 @@ ELSE( Qt4_FIND_COMPONENTS )
|
||||||
|
|
||||||
ENDIF( 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(VERSION_MSG "Found unsuitable Qt version \"${QTVERSION}\" from ${QT_QMAKE_EXECUTABLE}")
|
||||||
SET(QT4_FOUND FALSE)
|
SET(QT4_FOUND FALSE)
|
||||||
IF(Qt4_FIND_REQUIRED)
|
IF(Qt4_FIND_REQUIRED)
|
||||||
|
|
Loading…
Reference in New Issue