summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-05-03 15:40:04 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-05-03 15:40:04 (GMT)
commit37a28ffa364b397082aa07cf69b32cf8980e1447 (patch)
treee20e45857d5f2ed475d5bdf788234dfc1ab79a4f /Modules
parent1dfe15c4314c2b7ef6cb15a5deb274f73c3de3ce (diff)
downloadCMake-37a28ffa364b397082aa07cf69b32cf8980e1447.zip
CMake-37a28ffa364b397082aa07cf69b32cf8980e1447.tar.gz
CMake-37a28ffa364b397082aa07cf69b32cf8980e1447.tar.bz2
Fix the number variable comparison when Qt is not found.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindQt4.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
index e7cd02f..f9db5e1 100644
--- a/Modules/FindQt4.cmake
+++ b/Modules/FindQt4.cmake
@@ -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)