summaryrefslogtreecommitdiffstats
path: root/polly/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/CMakeLists.txt')
-rw-r--r--polly/lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/polly/lib/CMakeLists.txt b/polly/lib/CMakeLists.txt
index 87e85ba5fca..ac4dee29159 100644
--- a/polly/lib/CMakeLists.txt
+++ b/polly/lib/CMakeLists.txt
@@ -55,6 +55,10 @@ add_polly_library(Polly
${POLLY_HEADER_FILES}
)
+if (GPU_CODEGEN)
+ target_link_libraries(Polly PollyPPCG)
+endif (GPU_CODEGEN)
+
target_link_libraries(Polly PollyISL)
if (BUILD_SHARED_LIBS)
OpenPOWER on IntegriCloud