-
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
cereal: fix CMake imported target #4257
cereal: fix CMake imported target #4257
Conversation
All green in build 1 (
|
allow to link to official cereal imported target through cmake_find_package or cmake_find_package_multi generators
507c448
to
ede9418
Compare
All green in build 2 (
|
def package_id(self): | ||
self.info.header_only() | ||
@staticmethod | ||
def _create_module_official_cmake_targets(module_file, targets): |
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.
Should this be added as a tool to the client?
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.
yes, it would be nice
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.
@SpaceIm It looks a Conan case not a package feature. It would be great opening an issue to talk about, so we can internalize it.
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.
Yes, there is a suggestion of @madebr conan-io/conan#8338 (comment)
Let's open an issue in https://github.com/conan-io/conan
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.
Done: conan-io/conan#8360
Specify library name and version: cereal/all
conan-center hook activated.
first attempt to provide non namespaced CMake imported target in CCI recipe. Based on tests of @jgsogo conan-io/conan#8338