Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Changeset d6fba3b9 in lyxgit


Ignore:
Timestamp:
Oct 24, 2024, 12:52:22 PM (7 days ago)
Author:
Kornel Benko <kornel@…>
Branches:
master
Children:
a2c1229a
Parents:
cd3d3957
Message:

Cmake build: Start demanding at least version 5.1 if compiling with gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    rcd3d3957 rd6fba3b9  
    7878  project(${LYX_PROJECT})
    7979  if (CMAKE_COMPILER_IS_GNUCXX)
    80     if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9")
     80    set(MIN_GCC_VERSION "5.1")
     81    if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${MIN_GCC_VERSION})
    8182      message(STATUS "Gnu CXX compiler version = ${CMAKE_CXX_COMPILER_VERSION}")
    82       message(STATUS "is too old, should be >= 4.9")
     83      message(STATUS "is too old, should be >= ${MIN_GCC_VERSION}")
    8384      message(FATAL_ERROR "Exiting")
    8485    endif()
Note: See TracChangeset for help on using the changeset viewer.