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
This commit is contained in:
Tobias Grosser 2016-09-13 21:09:35 +00:00
parent 93f7547260
commit e8c69bbabd
1 changed files with 2 additions and 0 deletions

View File

@ -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"