projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses...
[oota-llvm.git]
/
tools
/
bugpoint-passes
/
CMakeLists.txt
diff --git
a/tools/bugpoint-passes/CMakeLists.txt
b/tools/bugpoint-passes/CMakeLists.txt
index b7ee62673c7f33b24c8f2d5e429a521936cfbaa8..de68bb5d31dde5514e99a9858eb5fa2d1b4aeafc 100644
(file)
--- a/
tools/bugpoint-passes/CMakeLists.txt
+++ b/
tools/bugpoint-passes/CMakeLists.txt
@@
-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
)