aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/vcpkg.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 76d77a0b5..9fbc24ad7 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -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()