summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/TestMacros.cmake
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-08-07 14:30:52 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-08-09 13:44:11 (GMT)
commit52676e37941ee6b31139e86ca2dfb28a80c648ae (patch)
tree9f2bc4718e6276e38c8f796e05b70ff969e222d6 /Tests/QtAutogen/TestMacros.cmake
parente7fb85d00d3a550d0f05e2288e18b43dc572900b (diff)
downloadCMake-52676e37941ee6b31139e86ca2dfb28a80c648ae.zip
CMake-52676e37941ee6b31139e86ca2dfb28a80c648ae.tar.gz
CMake-52676e37941ee6b31139e86ca2dfb28a80c648ae.tar.bz2
Autogen: Tests: Use non inverting Qt version tests
Diffstat (limited to 'Tests/QtAutogen/TestMacros.cmake')
-rw-r--r--Tests/QtAutogen/TestMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/QtAutogen/TestMacros.cmake b/Tests/QtAutogen/TestMacros.cmake
index 8e4bea2..0e27188 100644
--- a/Tests/QtAutogen/TestMacros.cmake
+++ b/Tests/QtAutogen/TestMacros.cmake
@@ -50,7 +50,7 @@ if(NON_ASCII_BDIR)
# Qt4 moc does not support utf8 paths in _parameter files generated by
# qtx_wrap_cpp
# https://bugreports.qt.io/browse/QTBUG-35480
- if(QT_TEST_VERSION STREQUAL 4)
+ if(QT_TEST_VERSION EQUAL 4)
set(QT_TEST_ALLOW_QT_MACROS FALSE)
endif()
# On windows qtx_wrap_cpp also fails in Qt5 when used on a path that