Allow to build shared libraries if BUILD_SHARED_LIBS is enabled

Contributed-by: Richard Membarth <richard.membarth@uni-saarland.de>
llvm-svn: 231272
This commit is contained in:
Tobias Grosser 2015-03-04 18:51:27 +00:00
parent addf8ebd97
commit 3027fedce4
1 changed files with 3 additions and 0 deletions

View File

@ -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