[clang-tools-extra] ddf7ae8 - [openmp] Add missing dependencies for OMP.h.inc after d90443b
Valentin Clement via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 08:48:45 PDT 2020
Author: Valentin Clement
Date: 2020-06-23T11:48:04-04:00
New Revision: ddf7ae852c48ff66c1da1e536ad2b8e77fa3d2b2
URL: https://github.com/llvm/llvm-project/commit/ddf7ae852c48ff66c1da1e536ad2b8e77fa3d2b2
DIFF: https://github.com/llvm/llvm-project/commit/ddf7ae852c48ff66c1da1e536ad2b8e77fa3d2b2.diff
LOG: [openmp] Add missing dependencies for OMP.h.inc after d90443b
Added:
Modified:
clang-tools-extra/clang-change-namespace/CMakeLists.txt
clang-tools-extra/clang-doc/CMakeLists.txt
clang-tools-extra/clang-include-fixer/CMakeLists.txt
clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt
clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
clang-tools-extra/clang-move/CMakeLists.txt
clang-tools-extra/clang-query/CMakeLists.txt
clang-tools-extra/clang-reorder-fields/CMakeLists.txt
clang-tools-extra/clang-tidy/CMakeLists.txt
clang-tools-extra/clang-tidy/abseil/CMakeLists.txt
clang-tools-extra/clang-tidy/android/CMakeLists.txt
clang-tools-extra/clang-tidy/boost/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/cert/CMakeLists.txt
clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
clang-tools-extra/clang-tidy/darwin/CMakeLists.txt
clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt
clang-tools-extra/clang-tidy/google/CMakeLists.txt
clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt
clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt
clang-tools-extra/clang-tidy/llvm/CMakeLists.txt
clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
clang-tools-extra/clang-tidy/mpi/CMakeLists.txt
clang-tools-extra/clang-tidy/objc/CMakeLists.txt
clang-tools-extra/clang-tidy/openmp/CMakeLists.txt
clang-tools-extra/clang-tidy/performance/CMakeLists.txt
clang-tools-extra/clang-tidy/plugin/CMakeLists.txt
clang-tools-extra/clang-tidy/portability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/tool/CMakeLists.txt
clang-tools-extra/clang-tidy/utils/CMakeLists.txt
clang-tools-extra/clang-tidy/zircon/CMakeLists.txt
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-change-namespace/CMakeLists.txt b/clang-tools-extra/clang-change-namespace/CMakeLists.txt
index bfce9869dde8..4cd9e7520b97 100644
--- a/clang-tools-extra/clang-change-namespace/CMakeLists.txt
+++ b/clang-tools-extra/clang-change-namespace/CMakeLists.txt
@@ -5,6 +5,9 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangChangeNamespace
ChangeNamespace.cpp
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangChangeNamespace
diff --git a/clang-tools-extra/clang-doc/CMakeLists.txt b/clang-tools-extra/clang-doc/CMakeLists.txt
index 56ec9eb6e94e..a43660c48849 100644
--- a/clang-tools-extra/clang-doc/CMakeLists.txt
+++ b/clang-tools-extra/clang-doc/CMakeLists.txt
@@ -15,6 +15,9 @@ add_clang_library(clangDoc
Representation.cpp
Serialize.cpp
YAMLGenerator.cpp
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangDoc
diff --git a/clang-tools-extra/clang-include-fixer/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/CMakeLists.txt
index d8685cb20758..5581d436f2fe 100644
--- a/clang-tools-extra/clang-include-fixer/CMakeLists.txt
+++ b/clang-tools-extra/clang-include-fixer/CMakeLists.txt
@@ -12,6 +12,9 @@ add_clang_library(clangIncludeFixer
LINK_LIBS
findAllSymbols
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangIncludeFixer
diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt
index c0760e8b69c6..0d9f686dfe80 100644
--- a/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt
+++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/CMakeLists.txt
@@ -12,6 +12,9 @@ add_clang_library(findAllSymbols
PragmaCommentHandler.cpp
STLPostfixHeaderMap.cpp
SymbolInfo.cpp
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(findAllSymbols
diff --git a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
index df792ea1bbe4..6d0328ed8312 100644
--- a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
+++ b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
@@ -10,4 +10,7 @@ add_clang_library(clangIncludeFixerPlugin
clangSema
clangTooling
${LLVM_PTHREAD_LIB}
+
+ DEPENDS
+ omp_gen
)
diff --git a/clang-tools-extra/clang-move/CMakeLists.txt b/clang-tools-extra/clang-move/CMakeLists.txt
index e3bef84baa00..0b748ce6cd99 100644
--- a/clang-tools-extra/clang-move/CMakeLists.txt
+++ b/clang-tools-extra/clang-move/CMakeLists.txt
@@ -6,6 +6,9 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangMove
Move.cpp
HelperDeclRefGraph.cpp
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangMove
diff --git a/clang-tools-extra/clang-query/CMakeLists.txt b/clang-tools-extra/clang-query/CMakeLists.txt
index 8192ec4770eb..043d26147a7f 100644
--- a/clang-tools-extra/clang-query/CMakeLists.txt
+++ b/clang-tools-extra/clang-query/CMakeLists.txt
@@ -7,6 +7,9 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangQuery
Query.cpp
QueryParser.cpp
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangQuery
diff --git a/clang-tools-extra/clang-reorder-fields/CMakeLists.txt b/clang-tools-extra/clang-reorder-fields/CMakeLists.txt
index 995efbb2f83a..4013c46433e6 100644
--- a/clang-tools-extra/clang-reorder-fields/CMakeLists.txt
+++ b/clang-tools-extra/clang-reorder-fields/CMakeLists.txt
@@ -5,6 +5,9 @@ set(LLVM_LINK_COMPONENTS
add_clang_library(clangReorderFields
ReorderFieldsAction.cpp
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangReorderFields
diff --git a/clang-tools-extra/clang-tidy/CMakeLists.txt b/clang-tools-extra/clang-tidy/CMakeLists.txt
index f552cb3ad835..02573534ccae 100644
--- a/clang-tools-extra/clang-tidy/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/CMakeLists.txt
@@ -15,6 +15,7 @@ add_clang_library(clangTidy
DEPENDS
ClangSACheckers
+ omp_gen
)
clang_target_link_libraries(clangTidy
diff --git a/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt b/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt
index 7d8601ad60e4..b6ea21879daf 100644
--- a/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/abseil/CMakeLists.txt
@@ -28,6 +28,9 @@ add_clang_library(clangTidyAbseilModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyAbseilModule
diff --git a/clang-tools-extra/clang-tidy/android/CMakeLists.txt b/clang-tools-extra/clang-tidy/android/CMakeLists.txt
index 72ed16061f6c..d00e1a7fa1db 100644
--- a/clang-tools-extra/clang-tidy/android/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/android/CMakeLists.txt
@@ -25,6 +25,9 @@ add_clang_library(clangTidyAndroidModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyAndroidModule
diff --git a/clang-tools-extra/clang-tidy/boost/CMakeLists.txt b/clang-tools-extra/clang-tidy/boost/CMakeLists.txt
index 2bddb707dd0e..8bf959d63274 100644
--- a/clang-tools-extra/clang-tidy/boost/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/boost/CMakeLists.txt
@@ -10,6 +10,9 @@ add_clang_library(clangTidyBoostModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyBoostModule
diff --git a/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt b/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
index e220fd0e67fb..6cc60ff0d7bc 100644
--- a/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
@@ -62,6 +62,9 @@ add_clang_library(clangTidyBugproneModule
clangTidy
clangTidyCppCoreGuidelinesModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyBugproneModule
diff --git a/clang-tools-extra/clang-tidy/cert/CMakeLists.txt b/clang-tools-extra/clang-tidy/cert/CMakeLists.txt
index 2aa172718a38..e56de01b4780 100644
--- a/clang-tools-extra/clang-tidy/cert/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/cert/CMakeLists.txt
@@ -28,6 +28,9 @@ add_clang_library(clangTidyCERTModule
clangTidyPerformanceModule
clangTidyReadabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyCERTModule
diff --git a/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt b/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
index 797799da8b08..39c2c552eb73 100644
--- a/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
@@ -32,6 +32,9 @@ add_clang_library(clangTidyCppCoreGuidelinesModule
clangTidyModernizeModule
clangTidyReadabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyCppCoreGuidelinesModule
diff --git a/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt b/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt
index 28245b7bce91..aeb9ac707142 100644
--- a/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/darwin/CMakeLists.txt
@@ -11,6 +11,9 @@ add_clang_library(clangTidyDarwinModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyDarwinModule
diff --git a/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt b/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt
index daf092eb4923..dd07813cded0 100644
--- a/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/fuchsia/CMakeLists.txt
@@ -17,6 +17,9 @@ add_clang_library(clangTidyFuchsiaModule
clangTidy
clangTidyGoogleModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyFuchsiaModule
diff --git a/clang-tools-extra/clang-tidy/google/CMakeLists.txt b/clang-tools-extra/clang-tidy/google/CMakeLists.txt
index 68076c1d3bef..e38ba8abb78d 100644
--- a/clang-tools-extra/clang-tidy/google/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/google/CMakeLists.txt
@@ -27,6 +27,9 @@ add_clang_library(clangTidyGoogleModule
clangTidy
clangTidyReadabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyGoogleModule
diff --git a/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt b/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt
index 53edd21fa61b..a25c21db4425 100644
--- a/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt
@@ -20,6 +20,9 @@ add_clang_library(clangTidyHICPPModule
clangTidyPerformanceModule
clangTidyReadabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyHICPPModule
diff --git a/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt b/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt
index 5edb652182be..7a86cfb32cb8 100644
--- a/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/linuxkernel/CMakeLists.txt
@@ -10,6 +10,9 @@ add_clang_library(clangTidyLinuxKernelModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyLinuxKernelModule
diff --git a/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt b/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt
index 74c92eeaa3a9..5b5cbaffcc9e 100644
--- a/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/llvm/CMakeLists.txt
@@ -15,6 +15,9 @@ add_clang_library(clangTidyLLVMModule
clangTidy
clangTidyReadabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyLLVMModule
diff --git a/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt b/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt
index 4a4e654f72c6..85b22d157a0e 100644
--- a/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt
@@ -13,6 +13,9 @@ add_clang_library(clangTidyLLVMLibcModule
clangTidy
clangTidyPortabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyLLVMLibcModule
diff --git a/clang-tools-extra/clang-tidy/misc/CMakeLists.txt b/clang-tools-extra/clang-tidy/misc/CMakeLists.txt
index 236a3a8875bd..880b7aacdc65 100644
--- a/clang-tools-extra/clang-tidy/misc/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/misc/CMakeLists.txt
@@ -23,6 +23,9 @@ add_clang_library(clangTidyMiscModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyMiscModule
diff --git a/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt b/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
index ee170279c834..147c2741d59e 100644
--- a/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
@@ -43,6 +43,9 @@ add_clang_library(clangTidyModernizeModule
clangTidy
clangTidyReadabilityModule
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyModernizeModule
diff --git a/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt b/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt
index 1ac973648eff..113740cc56b1 100644
--- a/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/mpi/CMakeLists.txt
@@ -11,6 +11,9 @@ add_clang_library(clangTidyMPIModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyMPIModule
diff --git a/clang-tools-extra/clang-tidy/objc/CMakeLists.txt b/clang-tools-extra/clang-tidy/objc/CMakeLists.txt
index 297471b54ea1..9a553f5a785b 100644
--- a/clang-tools-extra/clang-tidy/objc/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/objc/CMakeLists.txt
@@ -16,6 +16,9 @@ add_clang_library(clangTidyObjCModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyObjCModule
diff --git a/clang-tools-extra/clang-tidy/openmp/CMakeLists.txt b/clang-tools-extra/clang-tidy/openmp/CMakeLists.txt
index a23c719456aa..4ef61f88c050 100644
--- a/clang-tools-extra/clang-tidy/openmp/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/openmp/CMakeLists.txt
@@ -11,6 +11,9 @@ add_clang_library(clangTidyOpenMPModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyOpenMPModule
diff --git a/clang-tools-extra/clang-tidy/performance/CMakeLists.txt b/clang-tools-extra/clang-tidy/performance/CMakeLists.txt
index 5aa8c24c21ca..0e38e9fc5c0c 100644
--- a/clang-tools-extra/clang-tidy/performance/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/performance/CMakeLists.txt
@@ -23,6 +23,9 @@ add_clang_library(clangTidyPerformanceModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyPerformanceModule
diff --git a/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt b/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt
index 0bfe122314eb..0b281e0799cf 100644
--- a/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/plugin/CMakeLists.txt
@@ -4,6 +4,9 @@ add_clang_library(clangTidyPlugin
LINK_LIBS
clangTidy
${ALL_CLANG_TIDY_CHECKS}
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyPlugin
diff --git a/clang-tools-extra/clang-tidy/portability/CMakeLists.txt b/clang-tools-extra/clang-tidy/portability/CMakeLists.txt
index b4fcf28a9903..a0de5871e036 100644
--- a/clang-tools-extra/clang-tidy/portability/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/portability/CMakeLists.txt
@@ -11,6 +11,9 @@ add_clang_library(clangTidyPortabilityModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyPortabilityModule
diff --git a/clang-tools-extra/clang-tidy/readability/CMakeLists.txt b/clang-tools-extra/clang-tidy/readability/CMakeLists.txt
index ca2f69b8deb8..4539ab177ced 100644
--- a/clang-tools-extra/clang-tidy/readability/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/readability/CMakeLists.txt
@@ -47,6 +47,9 @@ add_clang_library(clangTidyReadabilityModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyReadabilityModule
diff --git a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
index 00554e43ad2f..f12cff1b1303 100644
--- a/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/tool/CMakeLists.txt
@@ -15,6 +15,9 @@ add_clang_library(clangTidyMain
LINK_LIBS
clangTidy
${ALL_CLANG_TIDY_CHECKS}
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyMain
diff --git a/clang-tools-extra/clang-tidy/utils/CMakeLists.txt b/clang-tools-extra/clang-tidy/utils/CMakeLists.txt
index 26032f21c701..e42d6922f469 100644
--- a/clang-tools-extra/clang-tidy/utils/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/utils/CMakeLists.txt
@@ -23,6 +23,9 @@ add_clang_library(clangTidyUtils
LINK_LIBS
clangTidy
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyUtils
diff --git a/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt b/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt
index 29c99e92e097..89c0d5737cec 100644
--- a/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt
+++ b/clang-tools-extra/clang-tidy/zircon/CMakeLists.txt
@@ -10,6 +10,9 @@ add_clang_library(clangTidyZirconModule
LINK_LIBS
clangTidy
clangTidyUtils
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangTidyZirconModule
diff --git a/clang-tools-extra/clangd/CMakeLists.txt b/clang-tools-extra/clangd/CMakeLists.txt
index fa4f8b41ff8d..3ff609a86da9 100644
--- a/clang-tools-extra/clangd/CMakeLists.txt
+++ b/clang-tools-extra/clangd/CMakeLists.txt
@@ -100,6 +100,9 @@ add_clang_library(clangDaemon
clangTidy
${LLVM_PTHREAD_LIB}
${ALL_CLANG_TIDY_CHECKS}
+
+ DEPENDS
+ omp_gen
)
clang_target_link_libraries(clangDaemon
diff --git a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
index c5bff2f34a9a..8f708cacfdf8 100644
--- a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
+++ b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
@@ -36,4 +36,7 @@ add_clang_library(clangDaemonTweaks OBJECT
clangToolingCore
clangToolingRefactoring
clangToolingSyntax
+
+ DEPENDS
+ omp_gen
)
More information about the cfe-commits
mailing list