mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
static link polly into tools
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,3 +32,12 @@ add_llvm_tool(opt
|
||||
opt.cpp
|
||||
)
|
||||
set_target_properties(opt PROPERTIES ENABLE_EXPORTS 1)
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user