From 9bcde2c7de9df436553f99cd1e3bd3e4fd0e2513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sat, 21 Jul 2018 20:54:20 +0100 Subject: [PATCH] Specify all dependencies in the same place in CMakeLists.txt. --- CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 698281c..18aba7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ # Copyright (C) 2008 by Volker Lanz +# Copyright (C) 2014-2018 by Andrius Štikonas # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -17,13 +18,15 @@ project(partitionmanager) cmake_minimum_required(VERSION 3.1 FATAL_ERROR) +# Dependencies +set(QT_MIN_VERSION "5.10.0") +set(KF5_MIN_VERSION "5.31") +set(KPMCORE_MIN_VERSION "3.50.0") + set(CMAKE_USE_RELATIVE_PATHS OFF) set(CMAKE_BUILD_WITH_INSTALL_RPATH ON) set(KDE_INSTALL_USE_QT_SYS_PATHS ON CACHE BOOL "Install mkspecs files, Plugins and Imports to the Qt 5 install dir" FORCE) -set(QT_MIN_VERSION "5.10.0") -set(KF5_MIN_VERSION "5.31") -set(KPMCORE_MIN_VERSION "3.50.0") # Check KPMcore dependency when bumping set(VERSION_MAJOR "3") set(VERSION_MINOR "50")