mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Fix the number variable comparison when Qt is not found.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user