]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
Add example for mulit-lingual Japanese document with CJKutf8.
[lyx.git] / CMakeLists.txt
index d36eb710dc9f940545cbc5594fbde01efd87851c..82448f6d332ad5bf07e5e5c3702a705c2fd98f96 100644 (file)
@@ -285,10 +285,11 @@ if(UNIX OR MINGW)
        endif()
        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(MSVC_VERSION LESS 1915)
+               set(LYX_USE_STD_REGEX 0)
+       else()
+               set(LYX_USE_STD_REGEX 1)
+       endif()
 endif()