[PATCH] D55526: Fix LLVM_LINK_LLVM_DYLIB build of TextAPI

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 11:32:42 PST 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, aheejin, mgorny.

A dependency on TestingSupport was introduced in rL348735 <https://reviews.llvm.org/rL348735> but
library was not incldued in the LLVM_LINK_LLVM_DYLIB build.


Repository:
  rL LLVM

https://reviews.llvm.org/D55526

Files:
  unittests/TextAPI/CMakeLists.txt


Index: unittests/TextAPI/CMakeLists.txt
===================================================================
--- unittests/TextAPI/CMakeLists.txt
+++ unittests/TextAPI/CMakeLists.txt
@@ -1,8 +1,9 @@
 set(LLVM_LINK_COMPONENTS
-  TestingSupport
   TextAPI
 )
 
 add_llvm_unittest(TapiTests
   ELFYAMLTest.cpp
 )
+
+target_link_libraries(TapiTests PRIVATE LLVMTestingSupport)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55526.177575.patch
Type: text/x-patch
Size: 372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/ba5e50ec/attachment.bin>


More information about the llvm-commits mailing list