summaryrefslogtreecommitdiffstats
path: root/tools/clang-fuzzer
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-08-09 04:45:00 +0000
committerVitaly Buka <vitalybuka@google.com>2017-08-09 04:45:00 +0000
commit8ff14c6f5576af38944573bb9689c5706bdc57c2 (patch)
tree71a10b0b44ac1e779c31d295e1aa4667129f6b4c /tools/clang-fuzzer
parent4f1bb5e1949ccdbd7b272c6ebca35d0b81a8645d (diff)
[clang-fuzzer] Resolve proto dependencies
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-fuzzer')
-rw-r--r--tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt b/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
index 8832a96ef5..1c3c504cef 100644
--- a/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
+++ b/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
@@ -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)