[clang] 1e4d612 - [CMake] Add a few more missing dependencies on ClangDriverOptions
Jon Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 15 16:56:40 PDT 2023
Author: Jon Roelofs
Date: 2023-08-15T16:56:31-07:00
New Revision: 1e4d6122cda6529781ecf467c2ae84e5dd41acdf
URL: https://github.com/llvm/llvm-project/commit/1e4d6122cda6529781ecf467c2ae84e5dd41acdf
DIFF: https://github.com/llvm/llvm-project/commit/1e4d6122cda6529781ecf467c2ae84e5dd41acdf.diff
LOG: [CMake] Add a few more missing dependencies on ClangDriverOptions
This often breaks modules-enabled bootstrap builds.
Added:
Modified:
clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt
clang/tools/clang-fuzzer/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt b/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt
index 5293f5e0a522d0..0326798e3a1748 100644
--- a/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt
+++ b/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt
@@ -26,4 +26,5 @@ add_clang_library(clangStaticAnalyzerFrontend
DEPENDS
omp_gen
+ ClangDriverOptions
)
diff --git a/clang/tools/clang-fuzzer/CMakeLists.txt b/clang/tools/clang-fuzzer/CMakeLists.txt
index e68ed8bbcb0694..2b9720ee627cb1 100644
--- a/clang/tools/clang-fuzzer/CMakeLists.txt
+++ b/clang/tools/clang-fuzzer/CMakeLists.txt
@@ -115,6 +115,9 @@ add_clang_executable(clang-fuzzer
EXCLUDE_FROM_ALL
${DUMMY_MAIN}
ClangFuzzer.cpp
+
+ DEPENDS
+ ClangDriverOptions
)
target_link_libraries(clang-fuzzer
@@ -127,6 +130,9 @@ add_clang_executable(clang-objc-fuzzer
EXCLUDE_FROM_ALL
${DUMMY_MAIN}
ClangObjectiveCFuzzer.cpp
+
+ DEPENDS
+ ClangDriverOptions
)
target_link_libraries(clang-objc-fuzzer
More information about the cfe-commits
mailing list