-
Notifications
You must be signed in to change notification settings - Fork 89
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
Conan V2 CMake dependencies #642
Comments
It is a known Conan bug: conan-io/conan#7192 We also encountered this in Celix, so a workaround is adopted: https://github.com/apache/celix/blob/master/conanfile.py#L424-L428 |
I'll close it now. If the issue remains, feel free to reopen it. |
Thanks, not sure where GitHub notifications are going. I think I'll keep the explicit link workaround for now since I understand it better. I looked around the documents file, seeing if I could add note just to find I had missed the already existing section. Sorry. |
Hi,
I am trying to make a project using Celix. I am using Conan V2 and CMake to build the project.
I locally exported the Conan recipe from the master branch (e1d7fc1, as far as I can tell, the previous release is not Conan V2 compatible) and required it in my consumer recipe. I set the following options:
I have the following generators:
In my CMake I have:
find_package(Celix) add_celix_container(TestCelixContainer CXX BUNDLES Celix::ShellCxx Celix::shell_tui )
Running CMake, I get the warning following warning, but the build files are written nonetheless.
I then proceed to build and get
warning: libzip.so.5, needed by
followed by undefined from libzip.Manually adding the following to the CMake fixes the issue:
I don't think this is the intended behavior, is there maybe a way for the Celix recipe or helper function to add the missing link?
The text was updated successfully, but these errors were encountered: