-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Allow CMake to use Protobuf compiler from Conan path #4012
Allow CMake to use Protobuf compiler from Conan path #4012
Conversation
(cherry picked from commit 1672174)
Sorry, the build is only launched for Early Access Program users. You can request access writing in this issue. |
Hi @avantgardnerio ! Thank you for your PR, please sign the CLA: #4012 (comment) |
Thanks, I added my name (Brent Gardner) to the issue linked above. I've also signed the CLA. |
For reference, the purpose of this PR is to enable the use of the conan-installed We fixed this by using the CMake function |
I get a 403 when I try to read the build result. Not sure why. Do I need to fix something? |
Hi @avantgardnerio ! First, you have to be approved on EAP, which occurs weekly (on next week in your case). Happy new year! |
Hi @uilianries . It looks like we've both been accepted to the EAP. What is the next step to allow this PR to be reviewed? Thank you! |
An unexpected error happened and has been reported. Help is on its way! 🏇 |
All green in build 4 (
|
Hi, know you folks are busy and the world is on fire, but just a gentle reminder for code review :) |
@@ -109,8 +119,8 @@ def _patch_sources(self): | |||
"""COMMAND protobuf::protoc | |||
ARGS --${protobuf_generate_LANGUAGE}_out ${_dll_export_decl}${protobuf_generate_PROTOC_OUT_DIR} ${_plugin} ${_protobuf_include_path} ${_abs_file} | |||
DEPENDS ${_abs_file} protobuf::protoc""", | |||
"""COMMAND "${CMAKE_COMMAND}" #FIXME: use conan binary component |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too late now. But you should not have removed this comment. It is a reminder to eventually use an upcoming Conan feature which makes the usage of executables easier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the note! Only from my curiosity, can you point towards documentation on that upcoming feature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify library name and version: protobuff/all_versions
conan-center hook activated.