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

Find openssl with older cmake version #2491

Merged
merged 4 commits into from
Jan 10, 2025
Merged

Find openssl with older cmake version #2491

merged 4 commits into from
Jan 10, 2025

Conversation

julianoes
Copy link
Collaborator

This copies FindOpenSSL.cmake which comes with cmake 3.28.3 and uses it for the find_package in mavsdk_server as well as curl.

This is required because earlier versions don't work properly which causes linking errors on Ubuntu 22.04.

Should fix #2489.

This is in preparation to use the directory within third_party as well.
This copies FindOpenSSL.cmake which comes with cmake 3.28.3 and uses it
for the find_package in mavsdk_server as well as curl.

This is required because earlier versions don't work properly which
causes linking errors on Ubuntu 22.04.
@julianoes julianoes force-pushed the pr-fix-cmake-openssl branch from c806609 to b6bc1cc Compare January 6, 2025 20:41
Copy link

sonarqubecloud bot commented Jan 9, 2025

@julianoes
Copy link
Collaborator Author

@JonasVautherin let me know if you're ok with this.

Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

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

I find it weird that a recent FindOpenSSL fails with Windows 🤔. Ah well... 😅

@julianoes
Copy link
Collaborator Author

@JonasVautherin I assume it's specific to *nix, not sure.

@julianoes julianoes merged commit 8c21685 into main Jan 10, 2025
40 checks passed
@julianoes julianoes deleted the pr-fix-cmake-openssl branch January 10, 2025 20:09
@DronecodeBot
Copy link

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/mavsdk-doesnt-build-on-ubuntu-22-04-ssl-link-error/43223/2

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.

SSL error building/configuring library on Ubuntu 22.04 in WSL2 and building docs
3 participants