From 4e3addc6e141fe8276c09901cff762c5bb60e6e2 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sat, 26 Oct 2019 15:31:25 +0200 Subject: [PATCH] Arrgh: not everything is done with cherryy-pick. Amend 24fae9f5 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f800849c1..8c3a947243 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -303,10 +303,10 @@ else() if(MSVC_VERSION LESS 1900) # Drop support for msvc versions prior to 1900 (Visual Studio 2015) message(FATAL_ERROR "Visual Studio >= 2015 is required.") - set(LYX_USE_STD_REGEX 0) -# if(MSVC10) -# set(LYX_USE_STD_REGEX 1) #TODO should we use it in ECMAScript mode? -# endif() + set(LYX_USE_STD_REGEX 0) + else() + set(LYX_USE_STD_REGEX 1) + endif() endif() -- 2.39.5