[Polly] Support linking ScopPassManager against LLVM dylib
authorMichał Górny <mgorny@gentoo.org>
Wed, 5 Aug 2020 08:22:32 +0000 (10:22 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 7 Aug 2020 04:46:35 +0000 (06:46 +0200)
commit96b02808afa7eb043b9968b07424cc96bc8d94a6
treed04d76a8ab43883a582d2ff4c3a45547592f3837
parentc530539badd58e11eb5c1aa426d8e3eba96f07d3
[Polly] Support linking ScopPassManager against LLVM dylib

Link ScopPassManager to LLVM dylib target if LLVM_LINK_LLVM_DYLIB
is enabled.  This fixes build failures on systems where static LLVM
libraries are not installed.

Differential Revision: https://reviews.llvm.org/D85281
polly/unittests/ScopPassManager/CMakeLists.txt