mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-27 13:53:01 +00:00
cmake: Define global clang-tidy and clang-format targets
This commit is contained in:
parent
d55d086a6d
commit
2871b9ccef
1 changed files with 2 additions and 0 deletions
|
@ -2044,11 +2044,13 @@ if(T_CHECK AND HAVE_CLANG)
|
||||||
)
|
)
|
||||||
clang_tidy(
|
clang_tidy(
|
||||||
TARGETS ${PROJECT_NAME}
|
TARGETS ${PROJECT_NAME}
|
||||||
|
GLOBAL
|
||||||
VERSION 14.0.0
|
VERSION 14.0.0
|
||||||
)
|
)
|
||||||
clang_format(
|
clang_format(
|
||||||
TARGETS ${PROJECT_NAME}
|
TARGETS ${PROJECT_NAME}
|
||||||
DEPENDENCY
|
DEPENDENCY
|
||||||
|
GLOBAL
|
||||||
VERSION 14.0.0
|
VERSION 14.0.0
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue