build: Enable clang-tidy 17 and 18 via CMake
This commit is contained in:
@@ -260,6 +260,7 @@ macro(process_options)
|
||||
if(${NS3_CLANG_TIDY})
|
||||
find_program(
|
||||
CLANG_TIDY NAMES clang-tidy clang-tidy-14 clang-tidy-15 clang-tidy-16
|
||||
clang-tidy-17 clang-tidy-18
|
||||
)
|
||||
if("${CLANG_TIDY}" STREQUAL "CLANG_TIDY-NOTFOUND")
|
||||
message(FATAL_ERROR "Clang-tidy was not found")
|
||||
|
||||
Reference in New Issue
Block a user