mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
03f3ce7bdc
Applied `cmake_format`.
16 lines
299 B
CMake
16 lines
299 B
CMake
# Run clang-tidy
|
|
|
|
set(DO_CLANG_TIDY
|
|
"${CLANG_TIDY_BIN}"
|
|
-format-style='{BasedOnStyle:
|
|
google,
|
|
IndentWidth:
|
|
2}'
|
|
-checks=*,-clang-analyzer-alpha.*
|
|
-fix
|
|
-fix-errors)
|
|
|
|
if(CLANG_TIDY_BIN)
|
|
set_target_properties(conky PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}")
|
|
endif()
|