diff options
author | Petr Hosek <phosek@chromium.org> | 2017-10-25 01:11:27 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-10-25 01:11:27 +0000 |
commit | 74154ad51df98d68aaa721ed57f02fb13deeec9a (patch) | |
tree | b69f99988e355cccb4dfec4b84854745ce8f0cb2 | |
parent | 394bf73d81c550b9f084d0a6b465665696c4a238 (diff) |
[clang-refactor] Use add_clang_tool CMake template
This allows including clang-refactor in LLVM_DISTRIBUTION_COMPONENTS
to build clang-refactor as part of the toolchain distribution.
Differential Revision: https://reviews.llvm.org/D39266
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316540 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/clang-refactor/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-refactor/CMakeLists.txt b/tools/clang-refactor/CMakeLists.txt index a472c40878..c20e83bacf 100644 --- a/tools/clang-refactor/CMakeLists.txt +++ b/tools/clang-refactor/CMakeLists.txt @@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS Support ) -add_clang_executable(clang-refactor +add_clang_tool(clang-refactor ClangRefactor.cpp TestSupport.cpp ) |