Generate c++ protos w/ relative paths

We shouldn't be generating protos defined outside of the current CMakeLists.txt dir.
This commit is contained in:
John Colvin committed 2024-11-29 15:05:11 +00:00
1 parent 49ebe56e31
commit a42017e592
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ function(protobuf_generate_cpp)
COMMAND
${_ARGS_PROTOC}
ARGS
--cpp_out=${_ARGS_CXX_OUT_DIR} ${_proto_include_cli_args} ${_abs_fil}
--cpp_out=${_ARGS_CXX_OUT_DIR} ${_proto_include_cli_args} ${_fil}
DEPENDS ${_abs_fil}
COMMENT "Running C++ protocol buffer compiler on ${_fil}"
VERBATIM