forked from OSchip/llvm-project
[CMake] Use PRIVATE in target_link_libraries for fuzzers.
Several fuzzers were missed by r319840. llvm-svn: 319948
This commit is contained in:
parent
115d99162c
commit
5a5c1d1c69
|
@ -12,6 +12,7 @@ add_clang_executable(clangd-fuzzer
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(clangd-fuzzer
|
target_link_libraries(clangd-fuzzer
|
||||||
|
PRIVATE
|
||||||
clangBasic
|
clangBasic
|
||||||
clangDaemon
|
clangDaemon
|
||||||
clangFormat
|
clangFormat
|
||||||
|
|
|
@ -10,6 +10,7 @@ add_clang_executable(clang-format-fuzzer
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(clang-format-fuzzer
|
target_link_libraries(clang-format-fuzzer
|
||||||
|
PRIVATE
|
||||||
${CLANG_FORMAT_LIB_DEPS}
|
${CLANG_FORMAT_LIB_DEPS}
|
||||||
${LLVM_LIB_FUZZING_ENGINE}
|
${LLVM_LIB_FUZZING_ENGINE}
|
||||||
)
|
)
|
||||||
|
|
|
@ -48,6 +48,7 @@ if(CLANG_ENABLE_PROTO_FUZZER)
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(clang-proto-fuzzer
|
target_link_libraries(clang-proto-fuzzer
|
||||||
|
PRIVATE
|
||||||
${ProtobufMutator_LIBRARIES}
|
${ProtobufMutator_LIBRARIES}
|
||||||
${PROTOBUF_LIBRARIES}
|
${PROTOBUF_LIBRARIES}
|
||||||
${LLVM_LIB_FUZZING_ENGINE}
|
${LLVM_LIB_FUZZING_ENGINE}
|
||||||
|
|
|
@ -11,4 +11,4 @@ add_clang_library(clangProtoToCXX proto_to_cxx.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_clang_executable(clang-proto-to-cxx proto_to_cxx_main.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)
|
||||||
|
|
Loading…
Reference in New Issue