diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2018-08-07 14:30:52 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2018-08-09 13:44:11 (GMT) |
commit | 52676e37941ee6b31139e86ca2dfb28a80c648ae (patch) | |
tree | 9f2bc4718e6276e38c8f796e05b70ff969e222d6 /Tests/QtAutogen/RerunMocPlugin | |
parent | e7fb85d00d3a550d0f05e2288e18b43dc572900b (diff) | |
download | CMake-52676e37941ee6b31139e86ca2dfb28a80c648ae.zip CMake-52676e37941ee6b31139e86ca2dfb28a80c648ae.tar.gz CMake-52676e37941ee6b31139e86ca2dfb28a80c648ae.tar.bz2 |
Autogen: Tests: Use non inverting Qt version tests
Diffstat (limited to 'Tests/QtAutogen/RerunMocPlugin')
-rw-r--r-- | Tests/QtAutogen/RerunMocPlugin/MocPlugin/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/CMakeLists.txt b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/CMakeLists.txt index bc0085f..ca22aeb 100644 --- a/Tests/QtAutogen/RerunMocPlugin/MocPlugin/CMakeLists.txt +++ b/Tests/QtAutogen/RerunMocPlugin/MocPlugin/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.10) project(MocPlugin) include("../../AutogenTest.cmake") -if (NOT QT_TEST_VERSION STREQUAL 5) - message(SEND_ERROR "Invalid Qt version specified.") +if (QT_TEST_VERSION LESS 5) + message(SEND_ERROR "Qt 5 or higher required.") endif() set(CMAKE_AUTOMOC_DEPEND_FILTERS |