diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-21 01:30:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-21 01:30:21 +0000 |
commit | 28969b41392de338668f7a68f68aa036c2dfdd3c (patch) | |
tree | f3a4ca0dc40a591e778c50ccf15092eed3dd4a14 /clang/lib/StaticAnalyzer/Frontend | |
parent | c7b0bdffe75c05aeb4a0689086d899c5527c3c7b (diff) | |
download | bcm5719-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/lib/StaticAnalyzer/Frontend')
-rw-r--r-- | clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt b/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt index bbcb085f847..d1f12a621f6 100644 --- a/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt +++ b/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt @@ -1,8 +1,5 @@ set(LLVM_NO_RTTI 1) -set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite - clangStaticAnalyzerCheckers) - include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../Checkers ) add_clang_library(clangStaticAnalyzerFrontend @@ -19,3 +16,12 @@ add_dependencies(clangStaticAnalyzerFrontend ClangDeclNodes ClangStmtNodes ) + +target_link_libraries(clangStaticAnalyzerFrontend + clangBasic + clangLex + clangAST + clangFrontend + clangRewrite + clangStaticAnalyzerCheckers + ) |