From 2c1753a5265c59ebd11fc465cdb119ff589ad965 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 23 Oct 2020 17:12:02 -0400 Subject: [PATCH] CMake: comment out c++20 for now We currently get errors with internal boost and also from LyX code. --- development/cmake/modules/FindCXX11Compiler.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/development/cmake/modules/FindCXX11Compiler.cmake b/development/cmake/modules/FindCXX11Compiler.cmake index 7f22f596b8..f9a1aaf045 100644 --- a/development/cmake/modules/FindCXX11Compiler.cmake +++ b/development/cmake/modules/FindCXX11Compiler.cmake @@ -54,7 +54,9 @@ else() endif() else() set(CXX11_FLAG_CANDIDATES - "--std=c++20" +# 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. +# "--std=c++20" "--std=c++17" "--std=c++14" "--std=c++11"