Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-01-27 15:00:35 +0300
committerSergey Sharybin <sergey@blender.org>2021-01-27 15:01:01 +0300
commitc92b5622adbf726b2466c40b336017f38f18e21b (patch)
tree0b91dffa119e905161d20c539d3a36453112ec9b /build_files
parent3f8816eb6a9253a43d9bc853df3460656ad1df53 (diff)
CMake: Detect Clang-Tidy 11 and 12
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/Modules/FindClangTidy.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_files/cmake/Modules/FindClangTidy.cmake b/build_files/cmake/Modules/FindClangTidy.cmake
index 04c5dfda448..4cf416e67d7 100644
--- a/build_files/cmake/Modules/FindClangTidy.cmake
+++ b/build_files/cmake/Modules/FindClangTidy.cmake
@@ -34,6 +34,8 @@ set(_clang_tidy_SEARCH_DIRS
# TODO(sergey): Find more reliable way of finding the latest clang-tidy.
find_program(CLANG_TIDY_EXECUTABLE
NAMES
+ clang-tidy-12
+ clang-tidy-11
clang-tidy-10
clang-tidy-9
clang-tidy-8