Skip to content

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

2 participants