Исправлен параметр для применения изменений

This commit is contained in:
Andrei Astafev 2021-12-21 17:20:38 +03:00
parent 396e2f38f9
commit d321b9aed2

View File

@ -19,7 +19,7 @@ function(myx_cmake_analyze_clang_tidy target)
list(FILTER __sources EXCLUDE REGEX "ui_.*\\.h$")
if(MYX_CMAKE_CLANG_TIDY_FIX)
list(APPEND _args "--fix")
list(APPEND _args "-fix-errors")
endif()
if(NOT TARGET myx-cmake-analyze-clang-tidy)
add_custom_target(myx-cmake-analyze-clang-tidy)