aboutsummaryrefslogtreecommitdiff
path: root/tools/diagtool/CMakeLists.txt
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-06-17 15:41:44 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-06-17 15:41:44 +0000
commit28ba2ee5c5cc3e43ebf5f9d7464037689d82a198 (patch)
tree4cb2e4cac55df3d0c1489e4d128efb4b74929904 /tools/diagtool/CMakeLists.txt
parent7553ad2b7513fce1acd85658279da204fa99426f (diff)
diagtool/CMakeLists.txt: Add missing tblgen'd dependency, ClangDiagnosticIndexName.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/diagtool/CMakeLists.txt')
-rw-r--r--tools/diagtool/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/diagtool/CMakeLists.txt b/tools/diagtool/CMakeLists.txt
index c8c8bf7a8e..d2ad735337 100644
--- a/tools/diagtool/CMakeLists.txt
+++ b/tools/diagtool/CMakeLists.txt
@@ -17,6 +17,10 @@ add_clang_executable(diagtool
ShowEnabledWarnings.cpp
)
+add_dependencies(diagtool
+ ClangDiagnosticIndexName
+ )
+
if(UNIX)
set(CLANGXX_LINK_OR_COPY create_symlink)
else()