diff options
author | Christian von Arnim <christian.vonarnim@gmail.com> | 2018-05-15 09:06:54 +0200 |
---|---|---|
committer | Christian von Arnim <christian.vonarnim@gmail.com> | 2018-05-15 09:06:54 +0200 |
commit | 411018e3fb6ca5d7610ee48139ecaef1033746e3 (patch) | |
tree | 6aa848b8aae4baa62fa0fd30fa0542438f5275a7 /cmake | |
parent | b9c0c5f526206f2d9b56522089f3abd0c329429a (diff) | |
download | protobuf-411018e3fb6ca5d7610ee48139ecaef1033746e3.tar.gz protobuf-411018e3fb6ca5d7610ee48139ecaef1033746e3.tar.bz2 protobuf-411018e3fb6ca5d7610ee48139ecaef1033746e3.zip |
cmake: Fix DEPENDS of add_custom_command in protobuf_generate
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/protobuf-config.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/protobuf-config.cmake.in b/cmake/protobuf-config.cmake.in index a40b7fd1..3480c17c 100644 --- a/cmake/protobuf-config.cmake.in +++ b/cmake/protobuf-config.cmake.in @@ -104,7 +104,7 @@ function(protobuf_generate) OUTPUT ${_generated_srcs} COMMAND protobuf::protoc ARGS --${protobuf_generate_LANGUAGE}_out ${_dll_export_decl}${protobuf_generate_PROTOC_OUT_DIR} ${_protobuf_include_path} ${_abs_file} - DEPENDS ${ABS_FIL} protobuf::protoc + DEPENDS ${_abs_file} protobuf::protoc COMMENT "Running ${protobuf_generate_LANGUAGE} protocol buffer compiler on ${_proto}" VERBATIM ) endforeach() |