fix invocation of clang-format

This commit is contained in:
Ian Taylor 2020-04-27 17:42:38 -04:00
parent 7083db28b3
commit 1647a34950

View File

@ -156,6 +156,7 @@ endif()
if (YAML_CPP_CLANG_FORMAT_EXE)
add_custom_target(format
COMMAND clang-format --style=file -i $<TARGET_PROPERTY:yaml-cpp,SOURCES>
COMMAND_EXPAND_LISTS
COMMENT "Running clang-format"
VERBATIM)
endif()