[polly] r231272 - Allow to build shared libraries if BUILD_SHARED_LIBS is enabled
Tobias Grosser
tobias at grosser.es
Wed Mar 4 10:51:27 PST 2015
Author: grosser
Date: Wed Mar 4 12:51:27 2015
New Revision: 231272
URL: http://llvm.org/viewvc/llvm-project?rev=231272&view=rev
Log:
Allow to build shared libraries if BUILD_SHARED_LIBS is enabled
Contributed-by: Richard Membarth <richard.membarth at uni-saarland.de>
Modified:
polly/trunk/lib/CMakeLists.txt
Modified: polly/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CMakeLists.txt?rev=231272&r1=231271&r2=231272&view=diff
==============================================================================
--- polly/trunk/lib/CMakeLists.txt (original)
+++ polly/trunk/lib/CMakeLists.txt Wed Mar 4 12:51:27 2015
@@ -143,6 +143,9 @@ if (BUILD_SHARED_LIBS)
LLVMAnalysis
LLVMipo
)
+ 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-commits
mailing list