diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-03-18 06:41:16 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-03-18 06:41:16 +0000 |
| commit | a4af9851433481575798e7bbb505c9d22bdf699a (patch) | |
| tree | ad0376895f8f9aebe245b1c0ec0398e920ee2b20 /CMakeLists.txt | |
| parent | b3538509091a59cd945ff48509ece5a97c59071d (diff) | |
| download | teachos-a4af9851433481575798e7bbb505c9d22bdf699a.tar.xz teachos-a4af9851433481575798e7bbb505c9d22bdf699a.zip | |
build: install clang tidy in devcontainer
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
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}") |
