Am Thu, 22 Oct 2020 12:07:17 -0400 schrieb Scott Kostyshak <skost...@lyx.org>:
> On Thu, Oct 22, 2020 at 05:42:33PM +0200, Kornel Benko wrote: > > Am Thu, 22 Oct 2020 10:20:49 -0400 > > schrieb Scott Kostyshak <skost...@lyx.org>: > > > > > On Thu, Oct 22, 2020 at 01:23:51PM +0200, Kornel Benko wrote: > > > > commit d954a6b09cc9d284a34510f076c16f22b425ead2 > > > > Author: Kornel Benko <kor...@lyx.org> > > > > Date: Thu Oct 22 13:46:29 2020 +0200 > > > > > > > > Cmake build: Next try to use of '--std=c++17' for gnu compiler" > > > > > > > > Setting CMAKE_CXX_STANDARD explicitly, so that cmake can use > > > > correct cxx-flags > > > > --- > > > > > > I get errors (although now at least it says '17' instead of '20' so that's > > > progress): > > > > > > CMake Error at src/CMakeLists.txt:113 (add_executable): > > > CXX_STANDARD is set to invalid value '17' > > > > > > > > > CMake Error at src/frontends/CMakeLists.txt:18 (add_library): > > > CXX_STANDARD is set to invalid value '17' > > > > > > > > > CMake Error at src/frontends/qt/CMakeLists.txt:42 (add_library): > > > CXX_STANDARD is set to invalid value '17' > > > > > > > > > CMake Error at src/frontends/tests/CMakeLists.txt:10 (add_executable): > > > CXX_STANDARD is set to invalid value '17': > > > > > > g++ --version > > > g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 > > > > > > I don't use this system much so if that GCC version is too old, then I'm > > > fine if we do not support it. But if we dream that someday Pavel will > > > switch to CMake, we should be ready :) > > > > > > Scott > > > > This is cmake message only. What is your cmake version? > > Apparently '17' is enabled with version 3.8, and '20' with version 3.12 > > cmake version 3.5.1 > > Scott OK, will ask cmake for available features :( Kornel
pgpb26BYv1vzY.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel