diff options
author | Brad King <brad.king@kitware.com> | 2014-12-12 16:16:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-12-12 16:16:02 (GMT) |
commit | f6c8d3d82fca676b127a601db97e6c0d5b7342e4 (patch) | |
tree | 362e7f279679e79f215578e8914bb451cea355fa | |
parent | 9c4ef206c7d13da0cd4314f4efea6452ae183fbb (diff) | |
parent | 009c1865dcc967a349be63a713c46ac88d297250 (diff) | |
download | CMake-f6c8d3d82fca676b127a601db97e6c0d5b7342e4.zip CMake-f6c8d3d82fca676b127a601db97e6c0d5b7342e4.tar.gz CMake-f6c8d3d82fca676b127a601db97e6c0d5b7342e4.tar.bz2 |
Merge topic 'FindQt4-fix-major-version-mismatch'
009c1865 FindQt4: Fix handling of QT_VERSION_MAJOR mismatch
-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 a79246a..11091b5 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -1321,7 +1321,7 @@ endif() if (NOT QT_VERSION_MAJOR EQUAL 4) set(VERSION_MSG "Found unsuitable Qt version \"${QTVERSION}\" from ${QT_QMAKE_EXECUTABLE}") - set(QT4_FOUND FALSE) + set(Qt4_FOUND FALSE) if(Qt4_FIND_REQUIRED) message( FATAL_ERROR "${VERSION_MSG}, this code requires Qt 4.x") else() |