]> granicus.if.org Git - clang/commitdiff
[clang-fuzzer] Resolve proto dependencies
authorVitaly Buka <vitalybuka@google.com>
Wed, 9 Aug 2017 04:45:00 +0000 (04:45 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 9 Aug 2017 04:45:00 +0000 (04:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310441 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt

index 8832a96ef5dc1e1b6cc41a8ae12c25bde73683a0..1c3c504ceff51c113d0636ed9ba783afcd829a8a 100644 (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)