aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/vtk/fix-exprtk.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/vtk/fix-exprtk.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/vtk/fix-exprtk.patch')
-rw-r--r--vcpkg/ports/vtk/fix-exprtk.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/vtk/fix-exprtk.patch b/vcpkg/ports/vtk/fix-exprtk.patch
new file mode 100644
index 0000000..8b5e72e
--- /dev/null
+++ b/vcpkg/ports/vtk/fix-exprtk.patch
@@ -0,0 +1,13 @@
+diff --git a/CMake/FindExprTk.cmake b/CMake/FindExprTk.cmake
+index 2886e7ed71..cb8a875725 100644
+--- a/CMake/FindExprTk.cmake
++++ b/CMake/FindExprTk.cmake
+@@ -24,7 +24,7 @@ if (ExprTk_INCLUDE_DIR)
+ set(ExprTk_VERSION)
+ foreach (_exprtk_version_line IN LISTS _exprtk_version_header)
+ if ("${ExprTk_VERSION}" STREQUAL "")
+- string(REGEX MATCH "version = \"(2\.7[0-9.]+)\".*$" _exprtk_version_match "${_exprtk_version_line}")
++ string(REGEX MATCH [[version = "(2\.7[0-9.]+)".*$]] _exprtk_version_match "${_exprtk_version_line}")
+ set(ExprTk_VERSION "${CMAKE_MATCH_1}")
+ else ()
+ string(REGEX MATCH "\"([0-9.]+)\".*$" _exprtk_version_match "${_exprtk_version_line}")