[Bf-blender-cvs] [c92b5622adb] master: CMake: Detect Clang-Tidy 11 and 12
Sergey Sharybin
noreply at git.blender.org
Wed Jan 27 13:07:09 CET 2021
Commit: c92b5622adbf726b2466c40b336017f38f18e21b
Author: Sergey Sharybin
Date: Wed Jan 27 13:00:35 2021 +0100
Branches: master
https://developer.blender.org/rBc92b5622adbf726b2466c40b336017f38f18e21b
CMake: Detect Clang-Tidy 11 and 12
===================================================================
M build_files/cmake/Modules/FindClangTidy.cmake
===================================================================
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
More information about the Bf-blender-cvs
mailing list