mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[cmake] fix clang-format detection
This commit is contained in:
committed by
Martin Fleisz
parent
187001ed55
commit
f61d1fd66a
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user