-
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
[package] catch2/2.9.2: Expected CMake scripts to be included in the package #252
Comments
See discussion here #209 |
Catch2 provides more than just install scripts though: some of the provided CMake scripts such as Those scripts should be kept since they're not meant for dependency discovery. |
In that case, it is totally fine to have them packaged. Thanks for the info @Morwenn |
Thanks for the response @Morwenn That is exactly my use case. I use @danimtb I'll keep updated with conan-io/conan#5798 and #209 for now. For now, I'll keep using the old package. Do you want to close this issue or keep it open to specifically track the catch2 package? |
If I understand correctly this issue is independent of the ones you linked to: they try to solve the problems with packages that provide more than the basic dependency mechanisms in |
The CMake scripts require the config file to be loaded so that they are in the path. The first bullet point of conan-io/conan#5798 (comment) should fix this. Edit: Fixed typo |
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
This issue is not fixed as |
@danimtb Can you please re-open this issue? |
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@pleroux0 I gonna submit a new PR with a fix. Thanks for reporting |
Can this issue be closed? |
Package and Environment Details (include every applicable attribute)
I expected to have access to cmake scripts that are installed with Catch2.
The helper scripts are set to be installed.
conan-center-index/recipes/catch2/2.x.x/conanfile.py
Line 33 in 6a7ff72
Then they are deleted during packaging.
conan-center-index/recipes/catch2/2.x.x/conanfile.py
Line 51 in 6a7ff72
Currently, I am using the older bincrafters package (catch2/2.5.0@bincrafters/stable) which still includes the CMake scripts. I would need to maintain my own conan package to use the newer version of Catch2.
The text was updated successfully, but these errors were encountered: