mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[curl] Add nghttp2.lib to dependencies of curl
This commit is contained in:
parent
71025694e9
commit
676c861ae6
@ -225,6 +225,15 @@ macro(find_package name)
|
|||||||
endif()
|
endif()
|
||||||
elseif("${name}" STREQUAL "HDF5")
|
elseif("${name}" STREQUAL "HDF5")
|
||||||
_find_package(${ARGV} CONFIG)
|
_find_package(${ARGV} CONFIG)
|
||||||
|
elseif("${name}" STREQUAL "CURL")
|
||||||
|
_find_package(${ARGV})
|
||||||
|
if(CURL_FOUND)
|
||||||
|
if(EXISTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/nghttp2.lib")
|
||||||
|
list(APPEND CURL_LIBRARIES
|
||||||
|
"debug" "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib/nghttp2.lib"
|
||||||
|
"optimized" "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/nghttp2.lib")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
_find_package(${ARGV})
|
_find_package(${ARGV})
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user