We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Conan version 1.48.1
I have a meson project which is dependent on a test dependency "PkgA"
After executing conan install . on my recipe
conan install .
.pc file not generated when:
.pc
generators = 'PkgConfigDeps' def build_requirements(self): self.test_requires('PkgA')
As a test, I changed it to a normal requires and the .pc file is generated:
generators = 'PkgConfigDeps' requires = 'PkgA'
Is this expected or is there another way for me to get .pc files generated for test dependencies?
The text was updated successfully, but these errors were encountered:
Hi @phillipcaofph
Thanks for reporting the issue! And, indeed, it's a bug. This test_require should appear there as a normal *.pc file.
test_require
*.pc
Sorry, something went wrong.
test_requires
Fixed in #11390, will be released in 1.50. Thanks!
franramirez688
Successfully merging a pull request may close this issue.
Using Conan version 1.48.1
I have a meson project which is dependent on a test dependency "PkgA"
After executing
conan install .
on my recipe.pc
file not generated when:As a test, I changed it to a normal requires and the
.pc
file is generated:Is this expected or is there another way for me to get .pc files generated for test dependencies?
The text was updated successfully, but these errors were encountered: