[llvm-branch-commits] [polly] r259694 - Merging: https://llvm.org/svn/llvm-project/polly/trunk at 259659

Tobias Grosser via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 3 13:12:05 PST 2016


Author: grosser
Date: Wed Feb  3 15:12:05 2016
New Revision: 259694

URL: http://llvm.org/viewvc/llvm-project?rev=259694&view=rev
Log:
Merging: https://llvm.org/svn/llvm-project/polly/trunk@259659

roperly build shared libraries if LLVM_LINK_LLVM_DYLIB is enabled.

Contributed-by: Jack Howarth <howarthjw at gmail.com>

Modified:
    polly/branches/release_38/lib/CMakeLists.txt

Modified: polly/branches/release_38/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_38/lib/CMakeLists.txt?rev=259694&r1=259693&r2=259694&view=diff
==============================================================================
--- polly/branches/release_38/lib/CMakeLists.txt (original)
+++ polly/branches/release_38/lib/CMakeLists.txt Wed Feb  3 15:12:05 2016
@@ -77,6 +77,13 @@ if (BUILD_SHARED_LIBS)
   link_directories(
     ${LLVM_LIBRARY_DIR}
   )
+elseif (LLVM_LINK_LLVM_DYLIB)
+  target_link_libraries(Polly
+    LLVM
+  )
+  link_directories(
+    ${LLVM_LIBRARY_DIR}
+  )
 endif()
 
 # Build a monolithic Polly.a and a thin module LLVMPolly.moduleext that links to




More information about the llvm-branch-commits mailing list