Skip to content

Commit 304df2d

Browse files
committed
gui/CMakeLists.txt: disable -Wctad-maybe-unsupported for all Qt 6.9 versions
1 parent b64c7dc commit 304df2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gui/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ CheckOptions:
7575
# caused by Qt generated moc code - see https://bugreports.qt.io/browse/QTBUG-100915
7676
target_compile_options_safe(cppcheck-gui -Wno-redundant-parens)
7777
endif()
78-
if(QT_VERSION VERSION_EQUAL "6.9.0")
79-
# caused by Qt generated moc code in 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
78+
if(QT_VERSION VERSION_GREATER_EQUAL "6.9.0")
79+
# caused by Qt generated moc code starting with 6.9.0 - see https://bugreports.qt.io/browse/QTBUG-135638
8080
target_compile_options_safe(cppcheck-gui -Wno-ctad-maybe-unsupported)
8181
endif()
8282
endif()

0 commit comments

Comments
 (0)