CMake: Detect Clang-Tidy 11 and 12

This commit is contained in:
Sergey Sharybin 2021-01-27 13:00:35 +01:00
parent 3f8816eb6a
commit c92b5622ad

@ -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