Skip to content

Commit

Permalink
Fix warnings-as-errors arg
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarWatcher committed Aug 11, 2024
1 parent 306addf commit 4c0a0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ if (LINT)

set (CLANG_TIDY_COMMAND "${CLANGTIDY}" "--config-file=${CMAKE_CURRENT_SOURCE_DIR}/.clang-tidy")
if (LINT_WARNINGS_ARE_ERRORS)
list (APPEND CLANG_TIDY_COMMAND "--warnings-as-errors='*'")
list (APPEND CLANG_TIDY_COMMAND "-warnings-as-errors='*'")
endif()
if (LINT_EXPORT)
list (APPEND CLANG_TIDY_COMMAND --export-fixes=fixes.yml)
Expand Down

0 comments on commit 4c0a0f8

Please # to comment.