diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2021-05-28 19:00:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-28 10:00:20 -0700 |
| commit | 0de461216d66a4d5ca1870254e27258a66f6e361 (patch) | |
| tree | 963314c8051cb74a061075b20f26aec6fd8a8952 /ports/grpc | |
| parent | 9d7244f2f6a4f6a34c4e0b3ecbf391323e379a43 (diff) | |
| download | vcpkg-0de461216d66a4d5ca1870254e27258a66f6e361.tar.gz vcpkg-0de461216d66a4d5ca1870254e27258a66f6e361.zip | |
[vcpkg.cmake] Cleanup every special case in the find_package override (#18047)
* move boost out of the toolchain
* move icu out of the toolchain
* remove CURL from the toolchain (was already unreachable?)
* remove gsl from toolchain
* remove grpc from toolchain
* version stuff
* fix indent and missing endif()
* version stuff
* Revert changes to vcpkg.cmake
* push port version
* version stuff
Diffstat (limited to 'ports/grpc')
| -rw-r--r-- | ports/grpc/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/grpc/vcpkg-cmake-wrapper.cmake | 2 | ||||
| -rw-r--r-- | ports/grpc/vcpkg.json | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/ports/grpc/portfile.cmake b/ports/grpc/portfile.cmake index e932c153c..3ec41fb2f 100644 --- a/ports/grpc/portfile.cmake +++ b/ports/grpc/portfile.cmake @@ -96,3 +96,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) vcpkg_copy_pdbs() file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-cmake-wrapper.cmake" @ONLY) diff --git a/ports/grpc/vcpkg-cmake-wrapper.cmake b/ports/grpc/vcpkg-cmake-wrapper.cmake new file mode 100644 index 000000000..9adf02880 --- /dev/null +++ b/ports/grpc/vcpkg-cmake-wrapper.cmake @@ -0,0 +1,2 @@ +list(REMOVE_AT ARGS 0)
+_find_package(gRPC ${ARGS}) # Shouldn't this be fixed downstream instead of using a Wrapper?
\ No newline at end of file diff --git a/ports/grpc/vcpkg.json b/ports/grpc/vcpkg.json index a3515788e..118c58d18 100644 --- a/ports/grpc/vcpkg.json +++ b/ports/grpc/vcpkg.json @@ -1,7 +1,7 @@ { "name": "grpc", "version-semver": "1.37.0", - "port-version": 1, + "port-version": 2, "description": "An RPC library and framework", "homepage": "https://github.com/grpc/grpc", "dependencies": [ |
