-
Notifications
You must be signed in to change notification settings - Fork 15.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protobuf_generate passes options in the wrong order to protoc. #12375
Comments
The format may look strange but I think it's actually correct. A typical flag would look something like |
Does this agree with the |
You are right, it looks like this is not covered in the docs yet. |
protobuf/cmake/protobuf-generate.cmake
Line 141 in 47861d2
The plugin options
${_plugin_options}
are misplaced between--${protobuf_generate_LANGUAGE}_out
and${protobuf_generate_PROTOC_OUT_DIR}
. Even stranger, the options are nonsensically concatenated with a colon:
to${protobuf_generate_PROTOC_OUT_DIR}
. I think the correct format for the arguments should be something like:The text was updated successfully, but these errors were encountered: