[PATCH] D52664: Update CMakeLists.txt snippet so that example compiles

Dan Zimmerman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 28 11:26:51 PDT 2018


danzimm created this revision.
danzimm added a reviewer: modocache.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rC Clang

https://reviews.llvm.org/D52664

Files:
  docs/LibASTMatchersTutorial.rst


Index: docs/LibASTMatchersTutorial.rst
===================================================================
--- docs/LibASTMatchersTutorial.rst
+++ docs/LibASTMatchersTutorial.rst
@@ -113,6 +113,7 @@
         LoopConvert.cpp
         )
       target_link_libraries(loop-convert
+        PRIVATE
         clangTooling
         clangBasic
         clangASTMatchers


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52664.167521.patch
Type: text/x-patch
Size: 362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180928/a1986fe6/attachment.bin>


More information about the cfe-commits mailing list