Allow std::regex for MSVC10

This commit is contained in:
Kornel Benko 2018-10-25 10:14:49 +02:00
parent 0b3f644469
commit 4459603b61

View 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()