HomePhabricator

[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible

Authored by mgorny on Oct 4 2019, 1:30 PM.

Description

[clang-tools-extra] [cmake] Link against libclang-cpp whenever possible

Use clang_target_link_libraries() in order to support linking against
libclang-cpp instead of static libraries.

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

llvm-svn: 373786