From 1cf29b5bcf3404aaab2a689431e06dbb8777fec1 Mon Sep 17 00:00:00 2001 From: Don Hinton Date: Wed, 10 Jan 2018 01:00:28 +0000 Subject: [PATCH] [cmake] Delete redundant install command for clang-refactor. Summary: Install targets for clang tools are controlled 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. Differential Revision: https://reviews.llvm.org/D41807 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322147 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/clang-refactor/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/clang-refactor/CMakeLists.txt b/tools/clang-refactor/CMakeLists.txt index d2029066b9..b435744ca4 100644 --- a/tools/clang-refactor/CMakeLists.txt +++ b/tools/clang-refactor/CMakeLists.txt @@ -20,5 +20,3 @@ target_link_libraries(clang-refactor clangToolingCore clangToolingRefactor ) - -install(TARGETS clang-refactor RUNTIME DESTINATION bin) -- 2.40.0