-
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
[package] pybind11/2.6.1: CMake warning and error emitted for test_package example #3743
Comments
I got this to work with a work around CMakeLists.txt (doing it the normal cmake way):
However, I believe it should works as described in the doc (which is the way the example failed CMakeLists.txt in the example does): Team, we would really appreciate it if we can get to the bottom of this issue! |
The CCI The "work around" as I understand it, is the correct way of consuming the outputs of your So to be clear the test_package is not an example. |
But why the |
We recently had a contribution #4641 complaining about it's existence. You might not have configured Conanfile correctly |
I see. By the way the pybind11 docs suggests to use Reference: |
We are aware, Conan still official supports older versions so we have not changed it =) Again, you most likely do have your project setup correctly, I'd encourage you to try the slack channel there a lot of helpful community members. You can also open an issue and we'll do our best to get to it. |
Should be working fine after #4445 got merged |
Hi there, I'm closing this issue as this recipe has suffer plenty of modifications since this issue was reported. Happy coding 🐸 |
Hi, I have a directory containing all of the files from the pybind11/2.6.1 test package (minus the conanfile.py) and the following
conanfile.txt
:I expected that I would be able to execute the following commands:
conan install . --build missing
cmake .
make
However, I observe the following output from CMake:
If I use the deprecated(?) conan package
pybind11/2.3.0@conan/stable
I do not observe this error.At this point I am unsure whether this is a problem with how I'm using conan or how the package is defined. Any assistance would be welcome.
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)The text was updated successfully, but these errors were encountered: