From: Stephen Kelly Date: Mon, 1 Oct 2018 20:28:07 +0000 (+0000) Subject: Update CMakeLists.txt snippet so that example compiles X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43d5edd56c5d337f188f3970fb1ffccd3966fe0b;p=clang 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 Reviewers: modocache, steveire Reviewed By: steveire Subscribers: smeenai, steveire, cfe-commits Differential Revision: https://reviews.llvm.org/D52664 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343530 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LibASTMatchersTutorial.rst b/docs/LibASTMatchersTutorial.rst index 832b47efd1..9e95a7f18d 100644 --- a/docs/LibASTMatchersTutorial.rst +++ b/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