mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-04 04:03:22 +03:00
Fix the number variable comparison when Qt is not found.
This commit is contained in:
1 parent
1dfe15c431
commit
37a28ffa36
1 file changed
+1
-1
@@ -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