mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05: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
|
curllib_static
|
||||||
# Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip):
|
# Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip):
|
||||||
libcurl
|
libcurl
|
||||||
|
# Some Windows prebuilt versions distribute `libcurl_a.lib` instead of `libcurl.lib`
|
||||||
|
libcurl_a
|
||||||
NAMES_PER_DIR
|
NAMES_PER_DIR
|
||||||
HINTS ${PC_CURL_LIBRARY_DIRS}
|
HINTS ${PC_CURL_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user