Commit 62a25428 authored by Jonathan Riddell's avatar Jonathan Riddell 🏄

QT_MIN_VERSIONS is Qt 5.11 for Plasma 5.14. Agreed at kickoff meeting. Set...

QT_MIN_VERSIONS is Qt 5.11 for Plasma 5.14. Agreed at kickoff meeting.  Set everywhere for clearity and consistency.
parent 3a0e9562
......@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0)
project(libkscreen)
set(PROJECT_VERSION "5.13.80")
set(REQUIRED_QT_VERSION "5.9.0")
set(QT_MIN_VERSION "5.11.0")
set(KF5_MIN_VERSION "5.42.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
......@@ -21,7 +21,7 @@ include(CheckCXXCompilerFlag)
include(CMakePackageConfigHelpers)
include(GenerateExportHeader)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core DBus Gui Test X11Extras)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core DBus Gui Test X11Extras)
# Wayland backend
find_package(KF5Wayland ${KF5_MIN_VERSION} CONFIG REQUIRED)
......
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(Qt5Core @REQUIRED_QT_VERSION@)
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
find_dependency(Qt5Core @QT_MIN_VERSION@)
find_dependency(Qt5Gui @QT_MIN_VERSION@)
include("${CMAKE_CURRENT_LIST_DIR}/KF5ScreenTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@
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