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

Fix cpp_info.name not used in cmake find generators for dependencies #5973

Merged
merged 3 commits into from Oct 28, 2019

Conversation

danimtb
Copy link
Member

@danimtb danimtb commented Oct 25, 2019

Changelog: Bugfix: Fix cpp_info.name not used in cmake find generators for dependencies
Docs: omit

#TAGS: slow

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

@danimtb danimtb self-assigned this Oct 25, 2019
@danimtb danimtb added this to the 1.19.3 milestone Oct 25, 2019

class Conan(ConanFile):
requires = "hello2/1.0"
generators = "cmake_find_package"
Copy link
Member Author

Choose a reason for hiding this comment

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

This test is repeated here just using a different generator, but not sure where to place it to avoid repeating code

Copy link
Member

Choose a reason for hiding this comment

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

Don't worry too much, leave it at the moment.

Copy link
Contributor

@lasote lasote left a comment

Choose a reason for hiding this comment

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

I would say the test improvements can be done later to develop to speed up the minor release.

'exports_sources = "src/*"\n requires = "hello/1.0"',
output=client.out)
client.run("create .")
cmakelists = """
Copy link
Member

Choose a reason for hiding this comment

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

No need to change it now, we need to do the release. But for the future, please try to use textwrap.dedent() for cleaner tests layout.


class Conan(ConanFile):
requires = "hello2/1.0"
generators = "cmake_find_package"
Copy link
Member

Choose a reason for hiding this comment

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

Don't worry too much, leave it at the moment.

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.

None yet

3 participants