mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Amend 4459603
, MSVC versions >= 1915 allow std::regex
This commit is contained in:
parent
0f72179a07
commit
23041f53ea
@ -285,9 +285,10 @@ 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?
|
||||
if(MSVC_VERSION LESS 1915))
|
||||
set(LYX_USE_STD_REGEX 0)
|
||||
else()
|
||||
set(LYX_USE_STD_REGEX 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user