[llvm-commits] [llvm] r101313 - /llvm/trunk/lib/Transforms/IPO/CMakeLists.txt

Tobias Grosser grosser at fim.uni-passau.de
Wed Apr 14 16:42:23 PDT 2010


Author: grosser
Date: Wed Apr 14 18:42:23 2010
New Revision: 101313

URL: http://llvm.org/viewvc/llvm-project?rev=101313&view=rev
Log:
IPO needs ScalarOpts and InstCombine in its libs

The commit "Adding IPSCCP and Internalize passes to the C-bindings" introduced
new dependencies for IPO. Add these to the CMAKE build as otherwise the
BUILD_SHARED_LIBS=1 build fails.

Modified:
    llvm/trunk/lib/Transforms/IPO/CMakeLists.txt

Modified: llvm/trunk/lib/Transforms/IPO/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/CMakeLists.txt?rev=101313&r1=101312&r2=101313&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/IPO/CMakeLists.txt Wed Apr 14 18:42:23 2010
@@ -23,3 +23,5 @@
   StripSymbols.cpp
   StructRetPromotion.cpp
   )
+
+target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)





More information about the llvm-commits mailing list