summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Hello')
-rw-r--r--llvm/lib/Transforms/Hello/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Hello/CMakeLists.txt b/llvm/lib/Transforms/Hello/CMakeLists.txt
index e724dbc8be8..3851b35871f 100644
--- a/llvm/lib/Transforms/Hello/CMakeLists.txt
+++ b/llvm/lib/Transforms/Hello/CMakeLists.txt
@@ -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
)
OpenPOWER on IntegriCloud