[clang-tidy] Clean up installation rules
An installation rule for the executable with the correct component is already created by `add_clang_tool`, so the rule in this file is redundant. Correct the installation component for the Python scripts so that they also get installed by `install-clang-tidy`. llvm-svn: 317155
This commit is contained in:
parent
826a02328f
commit
09d4efee52
|
@ -34,8 +34,9 @@ target_link_libraries(clang-tidy
|
|||
clangToolingCore
|
||||
)
|
||||
|
||||
install(TARGETS clang-tidy
|
||||
RUNTIME DESTINATION bin)
|
||||
|
||||
install(PROGRAMS clang-tidy-diff.py DESTINATION share/clang)
|
||||
install(PROGRAMS run-clang-tidy.py DESTINATION share/clang)
|
||||
install(PROGRAMS clang-tidy-diff.py
|
||||
DESTINATION share/clang
|
||||
COMPONENT clang-tidy)
|
||||
install(PROGRAMS run-clang-tidy.py
|
||||
DESTINATION share/clang
|
||||
COMPONENT clang-tidy)
|
||||
|
|
Loading…
Reference in New Issue