cmake: Define global clang-tidy and clang-format targets
This commit is contained in:
parent
d55d086a6d
commit
2871b9ccef
|
@ -2044,11 +2044,13 @@ if(T_CHECK AND HAVE_CLANG)
|
|||
)
|
||||
clang_tidy(
|
||||
TARGETS ${PROJECT_NAME}
|
||||
GLOBAL
|
||||
VERSION 14.0.0
|
||||
)
|
||||
clang_format(
|
||||
TARGETS ${PROJECT_NAME}
|
||||
DEPENDENCY
|
||||
GLOBAL
|
||||
VERSION 14.0.0
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue