Fixes STD_REGEX issue introduced by gtest/benchmark submodule

This commit is contained in:
Ben 2025-02-04 15:08:06 +01:00
parent 0bd875d2b7
commit b4db94d753
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ const
when defined(macosx):
"-DCMAKE_BUILD_TYPE=Release"
elif defined(windows):
"-G\"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release"
"-G\"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DHAVE_STD_REGEX=ON -DRUN_HAVE_STD_REGEX=1"
else:
"-DCMAKE_BUILD_TYPE=Release"

View File

@ -9,7 +9,7 @@ const
when defined(macosx):
"-DCMAKE_BUILD_TYPE=Release"
elif defined(windows):
"-G\"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release"
"-G\"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DHAVE_STD_REGEX=ON -DRUN_HAVE_STD_REGEX=1"
else:
"-DCMAKE_BUILD_TYPE=Release"