[clang-include-fixer] Use add_clang_tool instead add_clang_executable

This makes it possible to include clang-include-fixer as distribution
component when building Clang based toolchain using CMake.

Differential Revision: https://reviews.llvm.org/D43371

llvm-svn: 325381
This commit is contained in:
Petr Hosek 2018-02-16 20:25:45 +00:00
parent 09e04af42f
commit 330a00c41e
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_executable(clang-include-fixer
add_clang_tool(clang-include-fixer
ClangIncludeFixer.cpp
)