aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch')
-rw-r--r--vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch b/vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch
new file mode 100644
index 0000000..9090429
--- /dev/null
+++ b/vcpkg/ports/protobuf-c/fix-dependency-protobuf.patch
@@ -0,0 +1,13 @@
+diff --git a/build-cmake/CMakeLists.txt b/build-cmake/CMakeLists.txt
+index ba0b730..a5161cf 100644
+--- a/build-cmake/CMakeLists.txt
++++ b/build-cmake/CMakeLists.txt
+@@ -15,7 +15,7 @@ if(MSVC AND NOT BUILD_SHARED_LIBS)
+ set(Protobuf_USE_STATIC_LIBS ON)
+ endif()
+
+-find_package(Protobuf CONFIG)
++find_package(Protobuf CONFIG REQUIRED)
+ if(Protobuf_FOUND)
+ # Keep compatibility with FindProtobuf CMake module
+ set(PROTOBUF_PROTOC_EXECUTABLE $<TARGET_FILE:protobuf::protoc>)