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 cmake CURL dependency #142

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Fix cmake CURL dependency #142

merged 1 commit into from
Apr 20, 2022

Conversation

fferflo
Copy link
Contributor

@fferflo fferflo commented Apr 19, 2022

FindCURL from cmake defines the variable ${CURL_LIBRARIES}, but ${CURL_LIBRARY} (an empty variable) is used here instead. See https://cmake.org/cmake/help/v3.23/module/FindCURL.html. This has been the case since cmake 3.0, so this fix is backwards compatible.

(The reason why this hasn't been a problem so far is probably due to the fact that CURL libraries are often installed in system directories that are linked to anyway. I noticed this bug when using a custom CURL installation directory.)

@JosephP91 JosephP91 merged commit 55bc50c into JosephP91:master Apr 20, 2022
@fferflo fferflo deleted the patch-1 branch April 20, 2022 17:53
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.

2 participants