Skip to content

Commit 87a17a3

Browse files
committed
docs: Remove references to the long-defunct LLVM_USED_LIBS
LLVM_USED_LIBS hasn't done anything since 2012, stop telling people to set it in the docs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@254173 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a5fa2dc commit 87a17a3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/LibASTMatchersTutorial.rst

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ CMakeLists.txt should have the following contents:
108108
::
109109

110110
set(LLVM_LINK_COMPONENTS support)
111-
set(LLVM_USED_LIBS clangTooling clangBasic clangAST)
112111

113112
add_clang_executable(loop-convert
114113
LoopConvert.cpp

docs/RAVFrontendAction.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,10 @@ following CMakeLists.txt to link it:
205205

206206
::
207207

208-
set(LLVM_USED_LIBS clangTooling)
209-
210208
add_clang_executable(find-class-decls FindClassDecls.cpp)
211209

210+
target_link_libraries(find-class-decls clangTooling)
211+
212212
When running this tool over a small code snippet it will output all
213213
declarations of a class n::m::C it found:
214214

0 commit comments

Comments
 (0)