File link-clang-tools-extra-shared.patch of Package llvm15
59
1
diff --git a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
2
index 6d0328ed831..d531e44743a 100644
3
--- a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
4
+++ b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
5
6
IncludeFixerPlugin.cpp
7
8
LINK_LIBS
9
+ clangIncludeFixer
10
+ ${LLVM_PTHREAD_LIB}
11
+
12
+ DEPENDS
13
+ omp_gen
14
+ )
15
+clang_target_link_libraries(clangIncludeFixerPlugin
16
+ PRIVATE
17
clangAST
18
clangBasic
19
clangFrontend
20
- clangIncludeFixer
21
clangParse
22
clangSema
23
clangTooling
24
- ${LLVM_PTHREAD_LIB}
25
-
26
- DEPENDS
27
- omp_gen
28
)
29
diff --git a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
30
index 8f708cacfdf..b08e9cee954 100644
31
--- a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
32
+++ b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
33
34
SwapIfBranches.cpp
35
36
LINK_LIBS
37
- clangAST
38
- clangBasic
39
clangDaemon
40
clangdSupport
41
+
42
+ DEPENDS
43
+ omp_gen
44
+ )
45
+
46
+clang_target_link_libraries(clangDaemonTweaks INTERFACE
47
+ clangAST
48
+ clangBasic
49
clangFormat
50
clangLex
51
clangSema
52
clangToolingCore
53
clangToolingRefactoring
54
clangToolingSyntax
55
-
56
- DEPENDS
57
- omp_gen
58
)
59