build: handle error from clang-tidy 22 breaking change (#8718)

This commit is contained in:
Yat Ho
2026-03-30 08:35:15 +08:00
committed by GitHub
parent 980cd07722
commit 09810605bb

View File

@@ -889,7 +889,7 @@ if(RUN_CLANG_TIDY)
endif()
else()
message(STATUS "Looking for clang-tidy - found: ${CLANG_TIDY}")
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY}")
set(CMAKE_CXX_CLANG_TIDY "${CLANG_TIDY}" --allow-no-checks)
endif()
endif()