diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtgrpc/protoc-host.patch | |
Diffstat (limited to 'vcpkg/ports/qtgrpc/protoc-host.patch')
| -rw-r--r-- | vcpkg/ports/qtgrpc/protoc-host.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/qtgrpc/protoc-host.patch b/vcpkg/ports/qtgrpc/protoc-host.patch new file mode 100644 index 0000000..a2d81fb --- /dev/null +++ b/vcpkg/ports/qtgrpc/protoc-host.patch @@ -0,0 +1,23 @@ +diff --git a/cmake/FindWrapProtoc.cmake b/cmake/FindWrapProtoc.cmake +index 82972c8f18..08335fa746 100644 +--- a/cmake/FindWrapProtoc.cmake ++++ b/cmake/FindWrapProtoc.cmake +@@ -13,7 +13,7 @@ if(${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY) + list(APPEND __WrapProtoc_find_package_args QUIET) + endif() + +-if(NOT CMAKE_CROSSCOMPILING) ++if(0) + if(NOT TARGET Threads::Threads) + find_package(Threads ${__WrapProtoc_find_package_args}) + endif() +@@ -52,8 +52,8 @@ if(NOT CMAKE_CROSSCOMPILING) + endif() + endif() + +-if(NOT __WrapProtoc_protoc_imported_location) ++if(1) + if(CMAKE_CROSSCOMPILING) + set(__WrapProtoc_extra_prefix_paths "${QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH}") + endif() + find_program(__WrapProtoc_protoc_imported_location |