aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint-passes/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint-passes/CMakeLists.txt')
-rw-r--r--tools/bugpoint-passes/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bugpoint-passes/CMakeLists.txt b/tools/bugpoint-passes/CMakeLists.txt
index b7ee626..de68bb5 100644
--- 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
)