[llvm] r348803 - Fix LLVM_LINK_LLVM_DYLIB build of TapiTests

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 14:01:34 PST 2018


Author: sbc
Date: Mon Dec 10 14:01:33 2018
New Revision: 348803

URL: http://llvm.org/viewvc/llvm-project?rev=348803&view=rev
Log:
Fix LLVM_LINK_LLVM_DYLIB build of TapiTests

A dependency on TestingSupport was introduced in rL348735 but
library was not incldued in the LLVM_LINK_LLVM_DYLIB build.

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

Modified:
    llvm/trunk/unittests/TextAPI/CMakeLists.txt

Modified: llvm/trunk/unittests/TextAPI/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/TextAPI/CMakeLists.txt?rev=348803&r1=348802&r2=348803&view=diff
==============================================================================
--- llvm/trunk/unittests/TextAPI/CMakeLists.txt (original)
+++ llvm/trunk/unittests/TextAPI/CMakeLists.txt Mon Dec 10 14:01:33 2018
@@ -1,8 +1,9 @@
 set(LLVM_LINK_COMPONENTS
-  TestingSupport
   TextAPI
 )
 
 add_llvm_unittest(TapiTests
   ELFYAMLTest.cpp
 )
+
+target_link_libraries(TapiTests PRIVATE LLVMTestingSupport)




More information about the llvm-commits mailing list