aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mysql-connector-cpp/depfindprotobuf.diff
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/mysql-connector-cpp/depfindprotobuf.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/mysql-connector-cpp/depfindprotobuf.diff')
-rw-r--r--vcpkg/ports/mysql-connector-cpp/depfindprotobuf.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/mysql-connector-cpp/depfindprotobuf.diff b/vcpkg/ports/mysql-connector-cpp/depfindprotobuf.diff
new file mode 100644
index 0000000..f3a82ae
--- /dev/null
+++ b/vcpkg/ports/mysql-connector-cpp/depfindprotobuf.diff
@@ -0,0 +1,24 @@
+diff --git a/cdk/cmake/DepFindProtobuf.cmake b/cdk/cmake/DepFindProtobuf.cmake
+index 1fc785e..2ba7e99 100644
+--- a/cdk/cmake/DepFindProtobuf.cmake
++++ b/cdk/cmake/DepFindProtobuf.cmake
+@@ -44,9 +44,9 @@
+ #
+ #
+
+-if(TARGET ext::protobuf)
++if(COMMAND mysqlx_protobuf_generate_cpp)
+ return()
+-endif()
++elseif(0)
+
+ message(STATUS "Setting up Protobuf.")
+
+@@ -66,6 +66,7 @@ add_ext_targets(protobuf
+ )
+
+
++endif()
+ # Standard PROTOBUF_GENERATE_CPP modified to our usage
+ function(mysqlx_protobuf_generate_cpp SRCS HDRS)
+ IF(NOT ARGN)