mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 14:39:01 +08:00
3efae11c36
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>
14 lines
697 B
Diff
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}")
|