[docs] Fix linking issues in LibASTMatchers tutorial

Update CMakeLists.txt in the tutorial to reflect the latest changes in
LLVM. The demo project cannot be linked without added libraries.

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D105409
This commit is contained in:
Georgy Komarov 2021-07-04 20:45:40 +03:00
parent 4aaf878750
commit 3697f26836
No known key found for this signature in database
GPG Key ID: 195B8622FE88ED46

View File

@ -105,9 +105,12 @@ CMakeLists.txt should have the following contents:
)
target_link_libraries(loop-convert
PRIVATE
clangTooling
clangBasic
clangAST
clangASTMatchers
clangBasic
clangFrontend
clangSerialization
clangTooling
)
With that done, Ninja will be able to compile our tool. Let's give it