[cmake] fix clang-format detection

This commit is contained in:
Armin Novak 2024-01-25 09:59:39 +01:00 committed by Martin Fleisz
parent 187001ed55
commit f61d1fd66a
1 changed files with 1 additions and 1 deletions

View File

@ -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.")