summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/TestMacros.cmake
diff options
context:
space:
mode:
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