]> git.lyx.org Git - features.git/commitdiff
Arrgh: not everything is done with cherryy-pick. Amend 24fae9f5
authorKornel Benko <kornel@lyx.org>
Sat, 26 Oct 2019 13:31:25 +0000 (15:31 +0200)
committerKornel Benko <kornel@lyx.org>
Sat, 26 Oct 2019 13:31:25 +0000 (15:31 +0200)
CMakeLists.txt

index 2f800849c14b1a8714ce106b7995ef6efd1782c9..8c3a947243797a109c80158823a6f42fba507e95 100644 (file)
@@ -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()