From 0ba089ce2624ff640e527cf079706317772e943c Mon Sep 17 00:00:00 2001 From: Patrick Stotko Date: Sat, 16 Nov 2024 16:38:43 +0100 Subject: [PATCH] Fix search directories for clang-format --- cmake/setup_clang_format.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/setup_clang_format.cmake b/cmake/setup_clang_format.cmake index 4e66a4c95..2bca86baf 100644 --- a/cmake/setup_clang_format.cmake +++ b/cmake/setup_clang_format.cmake @@ -10,7 +10,7 @@ function(stdgpu_setup_clang_format) endif() foreach(FILE_EXT IN ITEMS ".h" ".cuh" ".cpp" ".cu" ".hip" ".inc") - foreach(FILE_DIR IN ITEMS "src/stdgpu" "examples" "benchmark/stdgpu" "test/stdgpu" "test/install_test") + foreach(FILE_DIR IN ITEMS "src" "examples" "benchmarks" "tests") file(GLOB_RECURSE SOURCE_FILES_PART LIST_DIRECTORIES FALSE "${FILE_DIR}/*${FILE_EXT}") list(APPEND SOURCE_FILES ${SOURCE_FILES_PART}) endforeach()