From 72f9ed1807181ae500122e74e57bb2beaf4ab6de Mon Sep 17 00:00:00 2001 From: Hongbin Zheng Date: Sun, 30 Oct 2016 06:07:59 +0000 Subject: [PATCH] [Polly] Remove the unused POLLY_LINK_LIBS for linking polly into tools Differential Revision: https://reviews.llvm.org/D25861 llvm-svn: 285514 --- llvm/tools/bugpoint/CMakeLists.txt | 5 ----- llvm/tools/opt/CMakeLists.txt | 5 ----- 2 files changed, 10 deletions(-) diff --git a/llvm/tools/bugpoint/CMakeLists.txt b/llvm/tools/bugpoint/CMakeLists.txt index 8638f19..a3b73e7 100644 --- a/llvm/tools/bugpoint/CMakeLists.txt +++ b/llvm/tools/bugpoint/CMakeLists.txt @@ -34,11 +34,6 @@ export_executable_symbols(bugpoint) if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) target_link_libraries(bugpoint Polly) - if(POLLY_LINK_LIBS) - foreach(lib ${POLLY_LINK_LIBS}) - target_link_libraries(bugpoint ${lib}) - endforeach(lib) - endif(POLLY_LINK_LIBS) # Ensure LLVMTarget can resolve dependences in Polly. target_link_libraries(bugpoint LLVMTarget) endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) diff --git a/llvm/tools/opt/CMakeLists.txt b/llvm/tools/opt/CMakeLists.txt index b4e0505..a362989 100644 --- a/llvm/tools/opt/CMakeLists.txt +++ b/llvm/tools/opt/CMakeLists.txt @@ -35,9 +35,4 @@ export_executable_symbols(opt) if(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) target_link_libraries(opt Polly) - if(POLLY_LINK_LIBS) - foreach(lib ${POLLY_LINK_LIBS}) - target_link_libraries(opt ${lib}) - endforeach(lib) - endif(POLLY_LINK_LIBS) endif(WITH_POLLY AND LINK_POLLY_INTO_TOOLS) -- 2.7.4