From c5d6f2eae94241d44a1c82ce117486b80586788a Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Mon, 4 Nov 2024 20:18:14 +0100 Subject: [PATCH] Amend d86dbf66 and 159e8f2d for cmake build. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac08a2bf56..9ee7ad8edc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,7 +77,7 @@ if(NOT help AND NOT HELP) # 'project' triggers the searching for a compiler project(${LYX_PROJECT}) if (CMAKE_COMPILER_IS_GNUCXX) - set(MIN_GCC_VERSION "5.1") + set(MIN_GCC_VERSION "7.1") if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${MIN_GCC_VERSION}) message(STATUS "Gnu CXX compiler version = ${CMAKE_CXX_COMPILER_VERSION}") message(STATUS "is too old, should be >= ${MIN_GCC_VERSION}") @@ -659,7 +659,7 @@ else() set(LYX_DEBUG ON) endif() -set(min_qt5_version "5.12") +set(min_qt5_version "5.9.4") if(LYX_USE_QT MATCHES "AUTO") # try qt6 first foreach(_mod Core Gui Widgets Concurrent Svg)