Merge topic 'fix-Qt5-incompatibility-check-version'

535e53c Fix the Qt 5 version required to run the IncompatibleQt test.
This commit is contained in:
Brad King 2013-03-28 10:43:02 -04:00 committed by CMake Topic Stage
commit 4ce263288a
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ add_RunCMake_test(CMP0004)
find_package(Qt4 QUIET) find_package(Qt4 QUIET)
find_package(Qt5Core QUIET) find_package(Qt5Core QUIET)
if (QT4_FOUND AND Qt5Core_FOUND AND Qt5Core_VERSION VERSION_GREATER 5.0.2) if (QT4_FOUND AND Qt5Core_FOUND AND NOT Qt5Core_VERSION VERSION_LESS 5.1.0)
add_RunCMake_test(IncompatibleQt) add_RunCMake_test(IncompatibleQt)
endif() endif()