vcpkg/ports/vtk/fix-exprtk.patch
Alexander Neumann 3efae11c36
[vtkm|vtk|paraview] update ports (#37119)
closes #36801
closes #36253
closes #36044

~~includes #24327 to fix dlib linkage in the osx pipelines.~~ 

Need to look at 
~~#36044~~
~~#36345~~

merge after 
- [x] #37561

---------

Co-authored-by: Alexander Neumann <you@example.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-04-29 09:01:01 -04:00

14 lines
697 B
Diff

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}")