aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVolker Krause <vkrause@kde.org>2021-11-30 16:53:53 +0100
committerVolker Krause <vkrause@kde.org>2021-11-30 16:56:02 +0100
commit225f1ccab60105783f7c9182fbe551adc427f994 (patch)
tree0ba708cd158ceff0e712d89fd6fb3cfc392154fb /tests
parent8fd79163a7c60386fbc94bc14ca4a3b0b29d7227 (diff)
downloadextra-cmake-modules-225f1ccab60105783f7c9182fbe551adc427f994.tar.gz
extra-cmake-modules-225f1ccab60105783f7c9182fbe551adc427f994.tar.bz2
Revert "If QT_MAJOR_VERSION is not defined, use 5"
There is no path out of QtVersionOption.cmake that would let QT_MAJOR_VERSION undefined, so this check is unnecessary. Worse, this doesn't actually check for QT_MAJOR_VERSION being defined, but whether a variable named after the content of the QT_MAJOR_VERSION variable is defined. That is always false, so this effectively forces Qt5 and breaks Qt6 support. This reverts commit 8fd79163a7c60386fbc94bc14ca4a3b0b29d7227.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions