aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-18 09:55:05 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-18 09:55:05 +0100
commitd25a933ee9df6bc34e806f71b86afb68c391a177 (patch)
treedbc0b4b6984ff9e9ed5ca0df442682f6b96f20a0 /CMakeLists.txt
parentb3538509091a59cd945ff48509ece5a97c59071d (diff)
parent8c502bc3423a6b3597ffbebb06a3fa3e17a6e4b0 (diff)
downloadteachos-d25a933ee9df6bc34e806f71b86afb68c391a177.tar.xz
teachos-d25a933ee9df6bc34e806f71b86afb68c391a177.zip
Merge branch 'fmorgner/clang-tidy-in-toolchain' into 'develop-BA-FS26'
build: add clang-tidy to toolchain See merge request teachos/kernel!14
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2343c77..7654ed0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,7 +42,10 @@ add_compile_options(
# Global Linting Configuration
#]============================================================================]
-find_program(CLANG_TIDY_EXE "clang-tidy")
+find_program(CLANG_TIDY_EXE NAMES
+ "clang-tidy-21"
+ "clang-tidy"
+)
if(CLANG_TIDY_EXE AND TEACHOS_ENABLE_LINTING)
set(CMAKE_C_CLANG_TIDY "${CLANG_TIDY_EXE}")