Fix race-condition between clang-format and program
This commit is contained in:
parent
78dcddeab9
commit
693b31b501
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ if(CLANG_FORMAT)
|
||||||
-style=file
|
-style=file
|
||||||
${Example02_ALL_FILES}
|
${Example02_ALL_FILES}
|
||||||
)
|
)
|
||||||
|
add_dependencies(Example02 clang-format)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_program(CLANG_TIDY "clang-tidy")
|
find_program(CLANG_TIDY "clang-tidy")
|
||||||
|
|
Loading…
Reference in a new issue