Amend 4459603, MSVC versions >= 1915 allow std::regex

This commit is contained in:
Kornel Benko 2018-10-27 20:51:57 +02:00
parent 0f72179a07
commit 23041f53ea

View File

@ -285,9 +285,10 @@ if(UNIX OR MINGW)
endif()
set(LYX_GCC11_MODE "${CXX11_FLAG}")
else()
if(MSVC_VERSION LESS 1915))
set(LYX_USE_STD_REGEX 0)
if(MSVC10)
set(LYX_USE_STD_REGEX 1) #TODO should we use it in ECMAScript mode?
else()
set(LYX_USE_STD_REGEX 1)
endif()
endif()