Make Polly tests dependencies explicit

Due to libPolly now using the component infrastructure, it no longer carries all
dependencies as it used to do.

Differential Revision: https://reviews.llvm.org/D79295
This commit is contained in:
serge-sans-paille 2020-05-04 08:06:39 +02:00
parent 762fb1c40e
commit 8ceee08de1
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
llvm_map_components_to_libnames(llvm_libs Passes Core Analysis)
add_polly_unittest(ScopPassManagerTests
PassManagerTest.cpp
)
target_link_libraries(ScopPassManagerTests PRIVATE ${llvm_libs})