-
Notifications
You must be signed in to change notification settings - Fork 36
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/Protoc: CMake files/config/location/target problem #598
Comments
At a second look, Protobuf itself is placing the CMake files in this path, so we should likely not move them. Maybe we aren't setting some CMake variable/path? |
Windows error, same build: https://ci.appveyor.com/project/inexorgame/conan-grpc-xr8rf/builds/21367231/job/oje9qhaarue3fhl9#L5436 |
Now we have a problem ... both protoc_installer and protobuf generates a bunch of cmake files, including |
Sorry, the target I'm checking what could be done to solve it on gRPC. |
Why is AppVeyor saying then that this target doesn't exist? 🤔 If the target definining is a problem maybe we can do something similar as we are doing in the modular find_boost? along the lines of this pseudo code...
|
I think it's because of cmake config version:
|
So I decided with inexorgame-obsolete/conan-grpc@f5efb04 to not cross-compile but rather using the However, I'm not sure now if these x86 packages are able to run on a x64 system because of this config file thing? 🤔 |
I've applied a patch to make possible to tin x86 on x86_64 but only for cmake, maybe there is something else missing |
I can't test this under the same circumstances as back then anymore. I will close this for now and will re-open another issue if I run into a similar problem in the future. |
Package and Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
grpc is searching for protobuf in the testing stages, but errors out with
https://travis-ci.org/inexorgame/conan-grpc/jobs/475032017#L3211
The first thing I'm noticing is that it is searching for CMake files in
lib/cmake/protobuf/protobuf-config.cmake
while, at least on Windows locally, the generated CMake files are incmake/
for me instead oflib/cmake/
.Are the CMake files just in the wrong location and we should move them?
The text was updated successfully, but these errors were encountered: