Merge topic 'FindCURL-libcurl'
708b53e FindCURL: Find older MSVC prebuilts
This commit is contained in:
commit
3aa15d62f8
@ -24,13 +24,15 @@
|
|||||||
find_path(CURL_INCLUDE_DIR NAMES curl/curl.h)
|
find_path(CURL_INCLUDE_DIR NAMES curl/curl.h)
|
||||||
mark_as_advanced(CURL_INCLUDE_DIR)
|
mark_as_advanced(CURL_INCLUDE_DIR)
|
||||||
|
|
||||||
# Look for the library.
|
# Look for the library (sorted from most current/relevant entry to least).
|
||||||
find_library(CURL_LIBRARY NAMES
|
find_library(CURL_LIBRARY NAMES
|
||||||
curl
|
curl
|
||||||
# Windows MSVC prebuilts:
|
# Windows MSVC prebuilts:
|
||||||
curllib
|
curllib
|
||||||
libcurl_imp
|
libcurl_imp
|
||||||
curllib_static
|
curllib_static
|
||||||
|
# Windows older "Win32 - MSVC" prebuilts (libcurl.lib, e.g. libcurl-7.15.5-win32-msvc.zip):
|
||||||
|
libcurl
|
||||||
)
|
)
|
||||||
mark_as_advanced(CURL_LIBRARY)
|
mark_as_advanced(CURL_LIBRARY)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user