diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-09 14:12:20 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-09 14:12:20 +0000 |
commit | d7ba69de9050f8f2fc3b7dd4bc491273160af640 (patch) | |
tree | c979aa7bb7fbe52e1139bb8c1cafbf0da05ef3e2 | |
parent | 5137f317ce997c6a7a40d6c09dbfb1d0070a4a90 (diff) | |
download | llvm-d7ba69de9050f8f2fc3b7dd4bc491273160af640.zip llvm-d7ba69de9050f8f2fc3b7dd4bc491273160af640.tar.gz llvm-d7ba69de9050f8f2fc3b7dd4bc491273160af640.tar.bz2 |
[CMake] Get rid of unconditional dependency to ClangDiagnosticCommon. Only clangBasic and clangASTMatchers need it.
llvm-svn: 159931
-rw-r--r-- | clang/CMakeLists.txt | 1 | ||||
-rw-r--r-- | clang/lib/ASTMatchers/CMakeLists.txt | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 124246a..29661fc 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -204,7 +204,6 @@ macro(add_clang_library name) target_link_libraries( ${name} ${LLVM_COMMON_LIBS} ) link_system_libs( ${name} ) - add_dependencies(${name} ClangDiagnosticCommon) install(TARGETS ${name} LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} diff --git a/clang/lib/ASTMatchers/CMakeLists.txt b/clang/lib/ASTMatchers/CMakeLists.txt index 806b687..8fc7d4b 100644 --- a/clang/lib/ASTMatchers/CMakeLists.txt +++ b/clang/lib/ASTMatchers/CMakeLists.txt @@ -12,5 +12,6 @@ add_dependencies(clangASTMatchers ClangAttrList ClangCommentNodes ClangDeclNodes + ClangDiagnosticCommon ClangStmtNodes ) |