FindCURL: Add support for finding static libcurl_a.lib on Windows

Fixes: #25810
This commit is contained in:
Alex Overchenko authored and Brad King committed 2024-03-25 15:31:30 -04:00
1 parent 6cddfdf974
commit a76aad6ca6
1 file changed
+2
+2
View File
@@ -117,6 +117,8 @@ if(NOT CURL_LIBRARY)
curllib_static
# Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip):
libcurl
# Some Windows prebuilt versions distribute `libcurl_a.lib` instead of `libcurl.lib`
libcurl_a
NAMES_PER_DIR
HINTS ${PC_CURL_LIBRARY_DIRS}
)