[clang-fuzzer] Resolve proto dependencies

llvm-svn: 310441
This commit is contained in:
Vitaly Buka 2017-08-09 04:45:00 +00:00
parent e7a3463d2a
commit f0ada558ce
1 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,10 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})
# an executable built from this directory.
set(LLVM_OPTIONAL_SOURCES proto_to_cxx.cpp proto_to_cxx_main.cpp)
add_clang_library(clangProtoToCXX proto_to_cxx.cpp LINK_LIBS clangCXXProto)
add_clang_library(clangProtoToCXX proto_to_cxx.cpp
DEPENDS clangCXXProto
LINK_LIBS clangCXXProto
)
add_clang_executable(clang-proto-to-cxx proto_to_cxx_main.cpp)
target_link_libraries(clang-proto-to-cxx clangProtoToCXX)