message: cmake: add clang-tidy
diff: @@ -20,3 +20,12 @@ if(ENABLE_CPPCHECK)
  message(SEND_ERROR "cppcheck requested but executable not found")
  endif()
  endif()
  +
  +if(ENABLE_CLANG_TIDY)
  + find_program(CLANGTIDY clang-tidy)
  + if(CLANGTIDY)
  + set(CMAKE_CXX_CLANG_TIDY ${CLANGTIDY} -extra-arg=-Wno-unknown-warning-option)
  + else()
  + message(SEND_ERROR "clang-tidy requested but executable not found")
  + endif()
  +endif()
  \ No newline at end of file
  