From 4459603b61fd694f79469ec64922e9094a7fac29 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 25 Oct 2018 10:14:49 +0200 Subject: [PATCH] Allow std::regex for MSVC10 --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d36eb710dc..fd1fe126b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,9 +286,9 @@ if(UNIX OR MINGW) set(LYX_GCC11_MODE "${CXX11_FLAG}") else() set(LYX_USE_STD_REGEX 0) -# if(MSVC10) -# set(LYX_USE_STD_REGEX 1) #TODO should we use it in ECMAScript mode? -# endif() + if(MSVC10) + set(LYX_USE_STD_REGEX 1) #TODO should we use it in ECMAScript mode? + endif() endif()