mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
FindCURL: Add support for finding static libcurl_a.lib on Windows
Fixes: #25810
This commit is contained in:
committed by
Brad King
parent
6cddfdf974
commit
a76aad6ca6
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user