From 7cf977a153cbe5432dd29b596712afab387b7484 Mon Sep 17 00:00:00 2001 From: Ross Brunton Date: Tue, 21 Jan 2025 12:12:18 +0000 Subject: [PATCH] Ensure all files are clang formatted --- cmake/helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/helpers.cmake b/cmake/helpers.cmake index b4df674bf9..bdd4a6d15c 100644 --- a/cmake/helpers.cmake +++ b/cmake/helpers.cmake @@ -30,7 +30,7 @@ function(add_cppformat name) else() # Split args into 2 parts (in Windows the list is probably too long) list(SUBLIST ARGN 0 250 selected_files_1) - list(SUBLIST ARGN 251 -1 selected_files_2) + list(SUBLIST ARGN 250 -1 selected_files_2) add_custom_target(cppformat-${name} COMMAND ${CLANG_FORMAT} --style=file --i ${selected_files_1} COMMAND ${CLANG_FORMAT} --style=file --i ${selected_files_2}