mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build: Expand for possible c++20 compilation
This commit is contained in:
parent
dea8231b7b
commit
86a10281da
@ -37,7 +37,7 @@ INCLUDE(FindPackageHandleStandardArgs)
|
|||||||
# get cmake-known std numbers
|
# get cmake-known std numbers
|
||||||
# Detection of c++20 works well, but our code is not ready for it yet.
|
# 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.
|
# 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)
|
lyxgetknowncmakestd(${_max_std_num} tmpnums)
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "^([cC]lang|AppleClang)$")
|
if (CMAKE_CXX_COMPILER_ID MATCHES "^([cC]lang|AppleClang)$")
|
||||||
|
Loading…
Reference in New Issue
Block a user