Commit 9cea8217 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Update required Qt, C++ and cmake versions

Increase the required versions to recent-ish versions

Realisticly it's likely not tested against older versions and this allows us to better prepare for Qt6
parent f6836eb6
......@@ -7,19 +7,19 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
set(SPECTACLE_VERSION ${RELEASE_SERVICE_VERSION})
# minimum requirements
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
cmake_minimum_required (VERSION 3.16 FATAL_ERROR)
# Spectacle project
project(Spectacle VERSION ${SPECTACLE_VERSION})
set(QT_MIN_VERSION "5.12.0")
set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.73.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
# require c++14
# require c++17
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment