From 896c7c1b24a6f7cd06ca8f93d890762310baea73 Mon Sep 17 00:00:00 2001 From: slali87 <109802779+slali87@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:55:56 +0200 Subject: [PATCH] TOOLS: Fix CI 1.1 . --- cmake/FormatCode.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FormatCode.cmake b/cmake/FormatCode.cmake index a98c705..643dbce 100644 --- a/cmake/FormatCode.cmake +++ b/cmake/FormatCode.cmake @@ -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)