forked from OSchip/llvm-project
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:
parent
93f7547260
commit
e8c69bbabd
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue