From 030e62a663ecf1d92e6eab160fd18fd332a1c43d Mon Sep 17 00:00:00 2001 From: fuzzard Date: Sun, 28 Apr 2024 16:38:56 +1000 Subject: [cmake][modules] FindCurl enable building internal --- tools/depends/target/curl/01-win-nghttp2-add-name.patch | 11 +++++++++++ tools/depends/target/curl/CURL-VERSION | 1 + 2 files changed, 12 insertions(+) create mode 100644 tools/depends/target/curl/01-win-nghttp2-add-name.patch (limited to 'tools/depends/target/curl') diff --git a/tools/depends/target/curl/01-win-nghttp2-add-name.patch b/tools/depends/target/curl/01-win-nghttp2-add-name.patch new file mode 100644 index 0000000000..e07843010a --- /dev/null +++ b/tools/depends/target/curl/01-win-nghttp2-add-name.patch @@ -0,0 +1,11 @@ +--- a/CMake/FindNGHTTP2.cmake ++++ b/CMake/FindNGHTTP2.cmake +@@ -25,7 +25,7 @@ + + find_path(NGHTTP2_INCLUDE_DIR "nghttp2/nghttp2.h") + +-find_library(NGHTTP2_LIBRARY NAMES nghttp2) ++find_library(NGHTTP2_LIBRARY NAMES nghttp2 nghttp2_static) + + find_package_handle_standard_args(NGHTTP2 + FOUND_VAR diff --git a/tools/depends/target/curl/CURL-VERSION b/tools/depends/target/curl/CURL-VERSION index 017b222e75..f9a42c2939 100644 --- a/tools/depends/target/curl/CURL-VERSION +++ b/tools/depends/target/curl/CURL-VERSION @@ -3,3 +3,4 @@ VERSION=8.7.1 ARCHIVE=$(LIBNAME)-$(VERSION).tar.xz SHA512=5bbde9d5648e9226f5490fa951690aaf159149345f3a315df2ba58b2468f3e59ca32e8a49734338afc861803a4f81caac6d642a4699b72c6310ebfb1f618aad2 BYPRODUCT=libcurl.a +BYPRODUCT_WIN=libcurl.lib -- cgit v1.2.3