aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/paraview/protobuf-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/paraview/protobuf-version.patch')
-rw-r--r--vcpkg/ports/paraview/protobuf-version.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/paraview/protobuf-version.patch b/vcpkg/ports/paraview/protobuf-version.patch
new file mode 100644
index 0000000..975f72f
--- /dev/null
+++ b/vcpkg/ports/paraview/protobuf-version.patch
@@ -0,0 +1,13 @@
+diff --git a/ThirdParty/protobuf/CMakeLists.txt b/ThirdParty/protobuf/CMakeLists.txt
+index 811dc3721b..02f26ae757 100644
+--- a/ThirdParty/protobuf/CMakeLists.txt
++++ b/ThirdParty/protobuf/CMakeLists.txt
+@@ -40,7 +40,7 @@ vtk_module_third_party(
+ STANDARD_INCLUDE_DIRS
+ EXTERNAL
+ PACKAGE Protobuf
+- VERSION "3.4"
++ CONFIG_MODE
+ TARGETS protobuf::libprotobuf
+ STANDARD_INCLUDE_DIRS)
+