aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-04-18 18:13:11 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-04-23 18:43:05 -0700
commitd84e86a910126e91c781af63e33e3516aa171f2a (patch)
treeec9e983ade075a1c32e86b83e5706b3e8b53c6d6
parent14708a09a9ade27dce3329ee8453a8a2724f94b6 (diff)
downloadvcpkg-d84e86a910126e91c781af63e33e3516aa171f2a.tar.gz
vcpkg-d84e86a910126e91c781af63e33e3516aa171f2a.zip
Fix grpc lookup (case-insensitive)
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index a9f8190f7..91c196fb9 100644
--- a/scripts/buildsystems/vcpkg.cmake
+++ b/scripts/buildsystems/vcpkg.cmake
@@ -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()