From b4db94d75300f9d638869279ab736571eda632e6 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 4 Feb 2025 15:08:06 +0100 Subject: [PATCH] Fixes STD_REGEX issue introduced by gtest/benchmark submodule --- leveldbstatic/prelude.nim | 2 +- leveldbstatic/raw.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/leveldbstatic/prelude.nim b/leveldbstatic/prelude.nim index 32bbbae..cc7d12d 100644 --- a/leveldbstatic/prelude.nim +++ b/leveldbstatic/prelude.nim @@ -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" diff --git a/leveldbstatic/raw.nim b/leveldbstatic/raw.nim index 501ab29..40b1aea 100644 --- a/leveldbstatic/raw.nim +++ b/leveldbstatic/raw.nim @@ -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"