commit 86a10281da8dfd3e0892c368476dc867d5bfd852 Author: Kornel Benko <kor...@lyx.org> Date: Mon Dec 28 13:13:27 2020 +0100
Cmake build: Expand for possible c++20 compilation --- development/cmake/modules/FindCXX11Compiler.cmake | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/development/cmake/modules/FindCXX11Compiler.cmake b/development/cmake/modules/FindCXX11Compiler.cmake index 01d6e6c..750a8ff 100644 --- a/development/cmake/modules/FindCXX11Compiler.cmake +++ b/development/cmake/modules/FindCXX11Compiler.cmake @@ -37,7 +37,7 @@ INCLUDE(FindPackageHandleStandardArgs) # get cmake-known std numbers # Detection of c++20 works well, but our code is not ready for it yet. # We currently get errors with internal boost and also from our code. -set(_max_std_num 17) +set(_max_std_num 20) lyxgetknowncmakestd(${_max_std_num} tmpnums) if (CMAKE_CXX_COMPILER_ID MATCHES "^([cC]lang|AppleClang)$") -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs