You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem is caused by COMPILATION_UNIT being empty on non-auto compilation unit targets.
add_custom_target(
${TARGET_NAME}.format
WORKING_DIRECTORY${PROJECT_SOURCE_DIR}COMMAND${CLANG_FORMAT} -i -style=file **${COMPILATION_UNIT}**
COMMENT"Running `clang-format` on compilation unit of `${TARGET_NAME}`"
)
The text was updated successfully, but these errors were encountered:
This problem is caused by COMPILATION_UNIT being empty on non-auto compilation unit targets.
The text was updated successfully, but these errors were encountered: