r310441 - [clang-fuzzer] Resolve proto dependencies

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 8 21:45:00 PDT 2017


Author: vitalybuka
Date: Tue Aug  8 21:45:00 2017
New Revision: 310441

URL: http://llvm.org/viewvc/llvm-project?rev=310441&view=rev
Log:
[clang-fuzzer] Resolve proto dependencies

Modified:
    cfe/trunk/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt

Modified: cfe/trunk/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt?rev=310441&r1=310440&r2=310441&view=diff
==============================================================================
--- cfe/trunk/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt (original)
+++ cfe/trunk/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt Tue Aug  8 21:45:00 2017
@@ -4,7 +4,10 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_
 # 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)




More information about the cfe-commits mailing list