[PATCH] D41807: [cmake] Delete redundant install command for clang-refactor.

Don Hinton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 6 18:53:26 PST 2018

hintonda created this revision.
hintonda added reviewers: arphaman, beanz.
Herald added a subscriber: mgorny.

Delete redundant install command for clang-refactor.  Install
targets for clang tools are controled by CLANG_BUILD_TOOLS, and when
OFF, cmake issues the following warning:

WARNING: Target "clang-refactor" has EXCLUDE_FROM_ALL set and will not
be built by default but an install rule has been provided for it.
CMake does not define behavior for this case.

  rC Clang



Index: tools/clang-refactor/CMakeLists.txt
--- tools/clang-refactor/CMakeLists.txt
+++ tools/clang-refactor/CMakeLists.txt
@@ -20,5 +20,3 @@
-install(TARGETS clang-refactor RUNTIME DESTINATION bin)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41807.128864.patch
Type: text/x-patch
Size: 317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180107/971a4de4/attachment.bin>

More information about the cfe-commits mailing list