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

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to