diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-01-27 15:00:35 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-01-27 15:01:01 +0300 |
commit | c92b5622adbf726b2466c40b336017f38f18e21b (patch) | |
tree | 0b91dffa119e905161d20c539d3a36453112ec9b /build_files | |
parent | 3f8816eb6a9253a43d9bc853df3460656ad1df53 (diff) |
CMake: Detect Clang-Tidy 11 and 12
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/Modules/FindClangTidy.cmake | 2 |
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 |