Skip to content

Commit

Permalink
TOOLS: Fix CI 1.1
Browse files Browse the repository at this point in the history
.
  • Loading branch information
slali87 committed Oct 10, 2024
1 parent 8bd4e1f commit 896c7c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/FormatCode.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ file(GLOB_RECURSE SOURCE_FILES FOLLOW_SYMLINKS
LIST_DIRECTORIES false ${EXPRESSION}
)
list(FILTER SOURCE_FILES EXCLUDE REGEX ".*/build/.*")
execute_process(COMMAND clang-format --version)
execute_process(COMMAND clang-format --Wno-error=unknown -style=file -i ${SOURCE_FILES}
execute_process(COMMAND clang-format-18 --version)
execute_process(COMMAND clang-format-18 -style=file -i ${SOURCE_FILES}
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMAND_ERROR_IS_FATAL ANY)

Expand Down

0 comments on commit 896c7c1

Please sign in to comment.