summaryrefslogtreecommitdiff
path: root/tools/clang-scan-deps/CMakeLists.txt
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2019-07-03 22:45:55 +0000
committerTom Stellard <tstellar@redhat.com>2019-07-03 22:45:55 +0000
commit26c91b65f934ea549fc71c599bc7d32aee3e0b33 (patch)
tree8f0894991347de0e1e784c68b8868b6d537d231c /tools/clang-scan-deps/CMakeLists.txt
parent711c0bdbd656146f1727cbc39c8278adcf6a5a98 (diff)
downloadclang-26c91b65f934ea549fc71c599bc7d32aee3e0b33.tar.gz
cmake: Add CLANG_LINK_CLANG_DYLIB option
Summary: Setting CLANG_LINK_CLANG_DYLIB=ON causes clang tools to link against libclang_shared.so instead of the individual component libraries. Reviewers: mgorny, beanz, smeenai, phosek, sylvestre.ledru Subscribers: arphaman, cfe-commits, llvm-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63503 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-scan-deps/CMakeLists.txt')
-rw-r--r--tools/clang-scan-deps/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-scan-deps/CMakeLists.txt b/tools/clang-scan-deps/CMakeLists.txt
index 5cb4e6ff32..6aa914f3b2 100644
--- a/tools/clang-scan-deps/CMakeLists.txt
+++ b/tools/clang-scan-deps/CMakeLists.txt
@@ -21,7 +21,7 @@ set(CLANG_SCAN_DEPS_LIB_DEPS
clangDependencyScanning
)
-target_link_libraries(clang-scan-deps
+clang_target_link_libraries(clang-scan-deps
PRIVATE
${CLANG_SCAN_DEPS_LIB_DEPS}
)