From f61d1fd66aba454cb870adbf7bc6637ff83d6796 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 25 Jan 2024 09:59:39 +0100 Subject: [PATCH] [cmake] fix clang-format detection --- cmake/ClangFormat.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ClangFormat.cmake b/cmake/ClangFormat.cmake index c84c43438..b815822fa 100644 --- a/cmake/ClangFormat.cmake +++ b/cmake/ClangFormat.cmake @@ -2,7 +2,7 @@ file(GLOB_RECURSE ALL_SOURCE_FILES *.cpp *.c *.h *.m *.java) include(ClangDetectTool) -clang_detect_tool(CLANG_FORMAT clang-format) +clang_detect_tool(CLANG_FORMAT clang-format "") if (NOT CLANG_FORMAT) message(WARNING "clang-format not found in path! code format target not available.")