diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-05-03 15:40:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-05-03 15:40:04 (GMT) |
commit | 37a28ffa364b397082aa07cf69b32cf8980e1447 (patch) | |
tree | e20e45857d5f2ed475d5bdf788234dfc1ab79a4f /Modules | |
parent | 1dfe15c4314c2b7ef6cb15a5deb274f73c3de3ce (diff) | |
download | CMake-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.cmake | 2 |
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) |