diff options
author | Stephen Kelly <steveire@gmail.com> | 2018-10-01 20:28:07 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2018-10-01 20:28:07 +0000 |
commit | 83cf6a03b27c07be07c6f34d34f3c33e68bd9b56 (patch) | |
tree | f1f448f5e89e53741128651e6b0e9798b806f4a6 | |
parent | 8bb5421878939cb2405fe24ade651d8f86fd38d6 (diff) |
Update CMakeLists.txt snippet so that example compiles
Summary: Previous to this the example didn't work out of the box, it seems some cmake config changed between when this was written and now.
Author: Dan Zimmerman <daniel.zimmerman@me.com>
Reviewers: modocache, steveire
Reviewed By: steveire
Subscribers: smeenai, steveire, cfe-commits
Differential Revision: https://reviews.llvm.org/D52664
-rw-r--r-- | clang/docs/LibASTMatchersTutorial.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/docs/LibASTMatchersTutorial.rst b/clang/docs/LibASTMatchersTutorial.rst index 832b47efd1b..9e95a7f18db 100644 --- a/clang/docs/LibASTMatchersTutorial.rst +++ b/clang/docs/LibASTMatchersTutorial.rst @@ -113,6 +113,7 @@ CMakeLists.txt should have the following contents: LoopConvert.cpp ) target_link_libraries(loop-convert + PRIVATE clangTooling clangBasic clangASTMatchers |