Skip to content
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

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 14, 2021

Specify library name and version: cereal/all

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    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

@conan-center-bot
Copy link
Collaborator

All green in build 1 (507c4481bdfab473b03bb88260b83f674d4182f4)! 😊

allow to link to official cereal imported target through cmake_find_package or cmake_find_package_multi
generators
@conan-center-bot
Copy link
Collaborator

All green in build 2 (ede9418f1784a17dcee5f0a59a19836371817bef)! 😊

def package_id(self):
self.info.header_only()
@staticmethod
def _create_module_official_cmake_targets(module_file, targets):
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SSE4 SSE4 requested a review from uilianries January 15, 2021 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants