summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-12 16:16:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-12-12 16:16:02 (GMT)
commitf6c8d3d82fca676b127a601db97e6c0d5b7342e4 (patch)
tree362e7f279679e79f215578e8914bb451cea355fa
parent9c4ef206c7d13da0cd4314f4efea6452ae183fbb (diff)
parent009c1865dcc967a349be63a713c46ac88d297250 (diff)
downloadCMake-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.cmake2
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()