Исправлен параметр для применения изменений
This commit is contained in:
parent
396e2f38f9
commit
d321b9aed2
@ -19,7 +19,7 @@ function(myx_cmake_analyze_clang_tidy target)
|
|||||||
list(FILTER __sources EXCLUDE REGEX "ui_.*\\.h$")
|
list(FILTER __sources EXCLUDE REGEX "ui_.*\\.h$")
|
||||||
|
|
||||||
if(MYX_CMAKE_CLANG_TIDY_FIX)
|
if(MYX_CMAKE_CLANG_TIDY_FIX)
|
||||||
list(APPEND _args "--fix")
|
list(APPEND _args "-fix-errors")
|
||||||
endif()
|
endif()
|
||||||
if(NOT TARGET myx-cmake-analyze-clang-tidy)
|
if(NOT TARGET myx-cmake-analyze-clang-tidy)
|
||||||
add_custom_target(myx-cmake-analyze-clang-tidy)
|
add_custom_target(myx-cmake-analyze-clang-tidy)
|
||||||
|
Loading…
Reference in New Issue
Block a user