-
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
openssl: define OPENSSL_FOUND
in CMakeDeps
generator
#12838
openssl: define OPENSSL_FOUND
in CMakeDeps
generator
#12838
Conversation
I detected other pull requests that are modifying openssl/1.x.x recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
a1ec2d5
to
7b4f655
Compare
This comment has been minimized.
This comment has been minimized.
7b4f655
to
755a0c5
Compare
This comment has been minimized.
This comment has been minimized.
FYI, several recipes should be fixed the same way: If they are not fixed, any recipe migrating to CMakeToolchain and depending on one of these libraries may fail (or worse, silently disable a feature and not honor an option). |
All green in build 4 (
|
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.
LGTM
…ator * define OPENSSL_FOUND in CMakeDeps also * few more conan v2 tools to satisfy hooks
this extends the improvements of PR conan-io#12838 done for the 1.x.x recipe to the 3.x.x one; also there is a new 3.x.x test_package using the CMakeDeps generator
this extends the improvements of PR conan-io#12838 done for the 1.x.x recipe to the 3.x.x one; also there is a new 3.x.x test_package using the CMakeDeps generator
this extends the improvements of PR conan-io#12838 done for the 1.x.x recipe to the 3.x.x one; also there is a new 3.x.x test_package using the CMakeDeps generator
OPENSSL_FOUND
is not defined iffind_package()
consumes the config file from CMakeDeps (another side effect for conan-io/conan#10387). This PR fixes this issue by settingOPENSSL_FOUND
toTRUE
unconditionally.I've seen this issue while trying to migrate mariadb-connector-c, its CMakeLists has a strong logic based on OPENSSL_FOUND, and it miserably fails if casing is wrong.