-
Notifications
You must be signed in to change notification settings - Fork 254
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
Using "build-scripts" package via tool_requires() not working #635
Comments
Hi @tbsuht Thanks for your question.
Indeed, the problem is that I'd say that the scope of It might be possible to do some gymnastics like parsing the json and extracting the builddirs, then defining those in the module path, I'll talk with @jcar87 regarding this possibility. |
I just came across the same limitation. I'm trying to use this integration on a project that relies on protobuf / protoc. I can access the protobuf library, but not the protoc binary. I'm interested on any suggestions. |
I had the same problem and ended up commenting out the I don't understand the circumstances under which it would be needed as line 14 was specifically looking for the recipes currently built When the (uncommented) protobuf recipe is invoked with conan the search I am using protobuf/3.21.12 and my homebrew system protoc is a different version so must use recipe version (although I would never want system installed even if it did match). I use conan for cross-compile profiles, but use conan_provider.cmake for local builds in CLion. The |
Hi all, When When I will try to discuss with @jcar87 about possible approaches for this |
Thanks @memsharded, it definitely would be a nicer approach and be more seamless for all recipes than the current |
As suggested here, I open a dedicated issue.
See the setup as described here.
foobar
contains genericcmake
files which we want to use in a lot of projects. The problem is that when using the package viatool_requires
, the files can't be found. We are currently bypassing this by usingrequires
and a dedicatedfind_package
.My understand is that the
builddirs
information is not used, as it is placed in the generated toolchain file and we're using the one-click-workflow of the CMake extension without manually doing aconan install
before.The text was updated successfully, but these errors were encountered: