[Attributor] Fix build of unittest with DBUILD_SHARED_LIBS=True

The dependencies in llvm/unittests/Transforms/IPO/CMakeLists.txt
introduced in revision 0750757e were incomplete, leading to link errors
for a DBUILD_SHARED_LIBS=True build.
This commit is contained in:
Alex Bradbury 2020-07-15 05:04:09 +01:00
parent d87c92e5a2
commit 5282a6186c
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
set(LLVM_LINK_COMPONENTS
Analysis
AsmParser
Core
Support
IPO
Support
TransformUtils
)
add_llvm_unittest(IPOTests