Skip to content

cmake : do not search for curl libraries by ourselves #14613

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

Merged
merged 2 commits into from
Jul 10, 2025

Conversation

EZForever
Copy link
Contributor

@EZForever EZForever commented Jul 10, 2025

CMake find_package(CURL) sets CURL_LIBRARIES to the list of needed libcurl library files, and this feature is available since the introduction of FindCURL.cmake module (in 2006), so I don't really see the point of using find_package(CURL) only to manually search for curl libraries again.

This PR is tested to not break current builds (at least on Linux and Windows). Also, by allowing CMake to do the hard work, this PR fixes build errors when using static libcurl and/or custom libcurl built with CMake (via -DCURL_ROOT=...).

@ggerganov ggerganov merged commit a457551 into ggml-org:master Jul 10, 2025
48 checks passed
gabe-l-hart added a commit to gabe-l-hart/llama.cpp that referenced this pull request Jul 10, 2025
* origin/master:
cmake : do not search for curl libraries by ourselves (ggml-org#14613)
SYCL: Initial set_rows kernel implementation (ggml-org#14562)
llama : minor coding style fix for smollm3 (ggml-org#14605)
cmake : bump llguidance version to v1.0.1 (ggml-org#14609)
cmake : llguidance build parser library only (ggml-org#14608)
cuda : support Falcon-H1 state size for SSM_SCAN (ggml-org#14602)

Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants