mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Autotools: use C++17 mode when available
This commit is contained in:
parent
2d2e2f1c6d
commit
bf28a2677c
@ -270,8 +270,8 @@ AC_REQUIRE([AC_PROG_CXXCPP])
|
||||
|
||||
### We might want to force the C++ standard.
|
||||
AC_ARG_ENABLE(cxx-mode,
|
||||
AS_HELP_STRING([--enable-cxx-mode],[choose C++ standard (default: 14, then 11)]),,
|
||||
[enable_cxx_mode={14,11}]
|
||||
AS_HELP_STRING([--enable-cxx-mode],[choose C++ standard (default: 17, 14, then 11)]),,
|
||||
[enable_cxx_mode={17,14,11}]
|
||||
)
|
||||
|
||||
AC_LANG_PUSH(C++)
|
||||
|
Loading…
Reference in New Issue
Block a user