mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +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()
|
endif()
|
||||||
set(LYX_GCC11_MODE "${CXX11_FLAG}")
|
set(LYX_GCC11_MODE "${CXX11_FLAG}")
|
||||||
else()
|
else()
|
||||||
|
if(MSVC_VERSION LESS 1915))
|
||||||
set(LYX_USE_STD_REGEX 0)
|
set(LYX_USE_STD_REGEX 0)
|
||||||
if(MSVC10)
|
else()
|
||||||
set(LYX_USE_STD_REGEX 1) #TODO should we use it in ECMAScript mode?
|
set(LYX_USE_STD_REGEX 1)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user