summaryrefslogtreecommitdiffstats
path: root/clang/examples/analyzer-plugin
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-21 01:30:21 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-21 01:30:21 +0000
commit28969b41392de338668f7a68f68aa036c2dfdd3c (patch)
treef3a4ca0dc40a591e778c50ccf15092eed3dd4a14 /clang/examples/analyzer-plugin
parentc7b0bdffe75c05aeb4a0689086d899c5527c3c7b (diff)
downloadbcm5719-llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.tar.gz
bcm5719-llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.zip
Remove a goofy CMake hack and use the standard CMake facilities to
express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888
Diffstat (limited to 'clang/examples/analyzer-plugin')
-rw-r--r--clang/examples/analyzer-plugin/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/examples/analyzer-plugin/CMakeLists.txt b/clang/examples/analyzer-plugin/CMakeLists.txt
index 2b9d82587ff..9ad5cace806 100644
--- a/clang/examples/analyzer-plugin/CMakeLists.txt
+++ b/clang/examples/analyzer-plugin/CMakeLists.txt
@@ -1,13 +1,13 @@
set(MODULE TRUE)
-set( LLVM_USED_LIBS
- clangStaticAnalyzerCore
- )
-
set( LLVM_LINK_COMPONENTS support mc)
add_clang_library(SampleAnalyzerPlugin MainCallChecker.cpp)
+target_link_libraries(SampleAnalyzerPlugin
+ clangStaticAnalyzerCore
+ )
+
set_target_properties(SampleAnalyzerPlugin
PROPERTIES
LINKER_LANGUAGE CXX
OpenPOWER on IntegriCloud