mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +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()
|
||||
elseif("${name}" STREQUAL "HDF5")
|
||||
_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()
|
||||
_find_package(${ARGV})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user