Fix grpc lookup (case-insensitive)

This commit is contained in:
Alexander Karatarakis 2018-04-18 18:13:11 -07:00
parent 14708a09a9
commit d84e86a910

View File

@ -241,6 +241,8 @@ macro(find_package name)
"optimized" "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/nghttp2.lib")
endif()
endif()
elseif("${_vcpkg_lowercase_name}" STREQUAL "grpc" AND EXISTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/grpc")
_find_package(gRPC ${ARGN})
else()
_find_package(${ARGV})
endif()