set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangTooling
  CommandLineClangTool.cpp
  CompilationDatabase.cpp
  Refactoring.cpp
  Tooling.cpp
  ArgumentsAdjusters.cpp
  )

add_dependencies(clangEdit
  ClangDiagnosticCommon
)

target_link_libraries(clangTooling
  clangBasic
  clangFrontend
  clangAST
  clangRewrite
  )

set(LLVM_LINK_COMPONENTS support)

add_clang_library(clangTooling
  CommandLineClangTool.cpp
  CompilationDatabase.cpp
  Refactoring.cpp
  Tooling.cpp
  ArgumentsAdjusters.cpp
  )

add_dependencies(clangTooling
  ClangDiagnosticCommon
)

target_link_libraries(clangTooling
  clangBasic
  clangFrontend
  clangAST
  clangRewrite
  )

Fix copy-paste mistake for CMake dependency.
Fix copy-paste mistake for CMake dependency.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@160315 91177308-0d34-0410-b5e6-96231b3b80d8
