[CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32.
llvm-svn: 212904
This commit is contained in:
parent
44f64eadd0
commit
c4fc6eec53
|
@ -6,6 +6,10 @@ if( NOT LLVM_REQUIRES_RTTI )
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(WIN32 OR CYGWIN)
|
||||
set(LLVM_LINK_COMPONENTS Core Support)
|
||||
endif()
|
||||
|
||||
add_llvm_loadable_module( LLVMHello
|
||||
Hello.cpp
|
||||
)
|
||||
|
|
|
@ -10,6 +10,10 @@ if( NOT LLVM_REQUIRES_RTTI )
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(WIN32 OR CYGWIN)
|
||||
set(LLVM_LINK_COMPONENTS Core)
|
||||
endif()
|
||||
|
||||
add_llvm_loadable_module( BugpointPasses
|
||||
TestPasses.cpp
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue