mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
adad0d53dc
commit
4a8dd7ced6
@ -6,6 +6,10 @@ if( NOT LLVM_REQUIRES_RTTI )
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(WIN32 OR CYGWIN)
|
||||||
|
set(LLVM_LINK_COMPONENTS Core Support)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_llvm_loadable_module( LLVMHello
|
add_llvm_loadable_module( LLVMHello
|
||||||
Hello.cpp
|
Hello.cpp
|
||||||
)
|
)
|
||||||
|
@ -10,6 +10,10 @@ if( NOT LLVM_REQUIRES_RTTI )
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(WIN32 OR CYGWIN)
|
||||||
|
set(LLVM_LINK_COMPONENTS Core)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_llvm_loadable_module( BugpointPasses
|
add_llvm_loadable_module( BugpointPasses
|
||||||
TestPasses.cpp
|
TestPasses.cpp
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user