[Polly] Fix plugin build.

The target_link_libraries call was accidentially removed in
D142580 (Remove Polly-ACC).
This commit is contained in:
Michael Kruse 2023-03-09 10:48:02 -06:00
parent a8adb38a96
commit a71a772e9a

View File

@ -126,6 +126,12 @@ else ()
$<TARGET_OBJECTS:obj.Polly>
)
# Only add the dependencies that are not part of LLVM. The latter are assumed
# to be already available in the address space the module is loaded into.
# Adding them once more would have the effect that both copies try to register
# the same command line options, to which LLVM reacts with an error.
target_link_libraries(LLVMPolly PUBLIC ${ISL_TARGET})
set_target_properties(LLVMPolly
PROPERTIES
LINKER_LANGUAGE CXX