diff options
author | Matt Morehouse <mascasa@google.com> | 2017-12-06 19:52:40 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2017-12-06 19:52:40 +0000 |
commit | 14cce4bde2b3500aac71af937234cbcb5e2fccb7 (patch) | |
tree | b730adaa93ae3fa0db2c602065f1ddc821a38ff0 /tools | |
parent | 8f60a2a4c1e8e3cf5c173e04cacadc8935b29751 (diff) |
[CMake] Use PRIVATE in target_link_libraries for fuzzers.
Several fuzzers were missed by r319840.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/clang-format/fuzzer/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tools/clang-fuzzer/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt | 2 |
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) |