mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-21 07:42:52 +00:00
[clang-tidy][CMake] Make clang-tidy usable as distribution component
Use add_clang_tool rather than add_clang_executable to support clang-tidy as a distribution component. Differential Revision: https://reviews.llvm.org/D32815 llvm-svn: 302688
This commit is contained in:
parent
6b936bf6c7
commit
e60a976fce
@ -2,7 +2,7 @@ set(LLVM_LINK_COMPONENTS
|
||||
support
|
||||
)
|
||||
|
||||
add_clang_executable(clang-tidy
|
||||
add_clang_tool(clang-tidy
|
||||
ClangTidyMain.cpp
|
||||
)
|
||||
add_dependencies(clang-tidy
|
||||
|
Loading…
x
Reference in New Issue
Block a user