From 09810605bb77eb7479c078682feb79d04c09f895 Mon Sep 17 00:00:00 2001 From: Yat Ho Date: Mon, 30 Mar 2026 08:35:15 +0800 Subject: [PATCH] build: handle error from clang-tidy 22 breaking change (#8718) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6736f737a..5ffdea0c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()