]> granicus.if.org Git - llvm/commitdiff
[Polly] Remove the unused POLLY_LINK_LIBS for linking polly into
authorHongbin Zheng <etherzhhb@gmail.com>
Sun, 30 Oct 2016 06:07:59 +0000 (06:07 +0000)
committerHongbin Zheng <etherzhhb@gmail.com>
Sun, 30 Oct 2016 06:07:59 +0000 (06:07 +0000)
tools

    Differential Revision: https://reviews.llvm.org/D25861

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285514 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/CMakeLists.txt
tools/opt/CMakeLists.txt

index 8638f199f7e3913309c21e1f02f35d8de58f6009..a3b73e713134cfed5c813c602c38a4e166eb6499 100644 (file)
@@ -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)
index b4e0505fec4c5ecb1246f700d361602b41342c32..a362989ac952395221245372626c6d8173a32d4f 100644 (file)
@@ -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)