aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-18 06:41:16 +0000
committerFelix Morgner <felix.morgner@ost.ch>2026-03-18 06:41:16 +0000
commita4af9851433481575798e7bbb505c9d22bdf699a (patch)
treead0376895f8f9aebe245b1c0ec0398e920ee2b20 /CMakeLists.txt
parentb3538509091a59cd945ff48509ece5a97c59071d (diff)
downloadteachos-a4af9851433481575798e7bbb505c9d22bdf699a.tar.xz
teachos-a4af9851433481575798e7bbb505c9d22bdf699a.zip
build: install clang tidy in devcontainer
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}")