mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-23 01:20:03 +00:00
[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:
parent
4aaf878750
commit
3697f26836
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user