summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/clang-format/fuzzer/CMakeLists.txt1
-rw-r--r--tools/clang-fuzzer/CMakeLists.txt1
-rw-r--r--tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt2
3 files changed, 3 insertions, 1 deletions
diff --git a/tools/clang-format/fuzzer/CMakeLists.txt b/tools/clang-format/fuzzer/CMakeLists.txt
index 8f777324af..87ae05b62d 100644
--- a/tools/clang-format/fuzzer/CMakeLists.txt
+++ b/tools/clang-format/fuzzer/CMakeLists.txt
@@ -10,6 +10,7 @@ add_clang_executable(clang-format-fuzzer
)
target_link_libraries(clang-format-fuzzer
+ PRIVATE
${CLANG_FORMAT_LIB_DEPS}
${LLVM_LIB_FUZZING_ENGINE}
)
diff --git a/tools/clang-fuzzer/CMakeLists.txt b/tools/clang-fuzzer/CMakeLists.txt
index eab921c7d6..b351ec5165 100644
--- a/tools/clang-fuzzer/CMakeLists.txt
+++ b/tools/clang-fuzzer/CMakeLists.txt
@@ -48,6 +48,7 @@ if(CLANG_ENABLE_PROTO_FUZZER)
)
target_link_libraries(clang-proto-fuzzer
+ PRIVATE
${ProtobufMutator_LIBRARIES}
${PROTOBUF_LIBRARIES}
${LLVM_LIB_FUZZING_ENGINE}
diff --git a/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt b/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
index 2b0ade4455..910b793e0e 100644
--- a/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
+++ b/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
@@ -11,4 +11,4 @@ add_clang_library(clangProtoToCXX proto_to_cxx.cpp
)
add_clang_executable(clang-proto-to-cxx proto_to_cxx_main.cpp)
-target_link_libraries(clang-proto-to-cxx clangProtoToCXX)
+target_link_libraries(clang-proto-to-cxx PRIVATE clangProtoToCXX)