summaryrefslogtreecommitdiffstats
path: root/clang/examples/analyzer-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'clang/examples/analyzer-plugin')
-rw-r--r--clang/examples/analyzer-plugin/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt
index b2a20e12782..1788d6c5cac 100644
--- a/clang/examples/analyzer-plugin/CMakeLists.txt
+++ b/clang/examples/analyzer-plugin/CMakeLists.txt
@@ -1 +1,10 @@
add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp)
+
+if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
+ target_link_libraries(SampleAnalyzerPlugin ${cmake_2_8_12_PRIVATE}
+ clangAnalysis
+ clangAST
+ clangStaticAnalyzerCore
+ LLVMSupport
+ )
+endif()
OpenPOWER on IntegriCloud