summaryrefslogtreecommitdiffstats
path: root/clang/unittests/CodeGen
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
commit2e97d2aa1bd313350e76be64299f19172a346bf9 (patch)
treef486cd121af50d7f4b2810314361c1a8e4fd247f /clang/unittests/CodeGen
parente0308279cbdd18391c533d6501922429ff4ef839 (diff)
downloadbcm5719-llvm-2e97d2aa1bd313350e76be64299f19172a346bf9.tar.gz
bcm5719-llvm-2e97d2aa1bd313350e76be64299f19172a346bf9.zip
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 llvm-svn: 365092
Diffstat (limited to 'clang/unittests/CodeGen')
-rw-r--r--clang/unittests/CodeGen/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/CodeGen/CMakeLists.txt b/clang/unittests/CodeGen/CMakeLists.txt
index e4e7588a932..c4c8a5c197f 100644
--- a/clang/unittests/CodeGen/CMakeLists.txt
+++ b/clang/unittests/CodeGen/CMakeLists.txt
@@ -10,7 +10,7 @@ add_clang_unittest(ClangCodeGenTests
TBAAMetadataTest.cpp
)
-target_link_libraries(ClangCodeGenTests
+clang_target_link_libraries(ClangCodeGenTests
PRIVATE
clangAST
clangBasic
OpenPOWER on IntegriCloud