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
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)