]> git.lyx.org Git - features.git/commitdiff
Allow std::regex for MSVC10
authorKornel Benko <kornel@lyx.org>
Thu, 25 Oct 2018 08:14:49 +0000 (10:14 +0200)
committerKornel Benko <kornel@lyx.org>
Thu, 25 Oct 2018 08:14:49 +0000 (10:14 +0200)
CMakeLists.txt

index d36eb710dc9f940545cbc5594fbde01efd87851c..fd1fe126b048a2c0f18b242eaed833ca4dad2a68 100644 (file)
@@ -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()