summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-09-13 21:09:35 +0000
committerTobias Grosser <tobias@grosser.es>2016-09-13 21:09:35 +0000
commite8c69bbabdbabe60b4957b3b9d80de3fa54fc3c1 (patch)
treea09cb87fd6b08b8f34bdcb60ed90c38bc345b0d9
parent93f7547260f1e490fd95b68f05f0b69d356ce8be (diff)
downloadbcm5719-llvm-e8c69bbabdbabe60b4957b3b9d80de3fa54fc3c1.tar.gz
bcm5719-llvm-e8c69bbabdbabe60b4957b3b9d80de3fa54fc3c1.zip
cmake: PollyPPCG depends on PollyISL
This line makes BUILD_SHARED_LIBS=ON work for Polly-ACC. Without it, ld complains about missing isl symbols when constructing the shared library. llvm-svn: 281396
-rw-r--r--polly/lib/External/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/polly/lib/External/CMakeLists.txt b/polly/lib/External/CMakeLists.txt
index d6ed85ddc82..a6d11dc4b84 100644
--- a/polly/lib/External/CMakeLists.txt
+++ b/polly/lib/External/CMakeLists.txt
@@ -327,6 +327,8 @@ add_polly_library(PollyPPCG
${PPCG_FILES}
)
+target_link_libraries(PollyPPCG PollyISL)
+
if (NOT MSVC)
set_target_properties(PollyPPCG PROPERTIES
COMPILE_FLAGS "-w"
OpenPOWER on IntegriCloud