Skip to content

Commit 63d63c6

Browse files
committed
Also look for newer clang-tidy versions.
1 parent 134c95e commit 63d63c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ set(CMAKE_BUILD_TYPE ${build_type}
138138
#
139139
#-----------------------------------------------------------------------------
140140
message(STATUS "Looking for clang-tidy")
141-
find_program(CLANG_TIDY NAMES clang-tidy clang-tidy-6.0 clang-tidy-5.0)
141+
find_program(CLANG_TIDY NAMES clang-tidy clang-tidy-7 clang-tidy-7.0 clang-tidy-6.0 clang-tidy-5.0)
142142

143143
if(CLANG_TIDY)
144144
message(STATUS "Looking for clang-tidy - found ${CLANG_TIDY}")

0 commit comments

Comments
 (0)