Specify all dependencies in the same place in CMakeLists.txt.
This commit is contained in:
parent
e173a5e3ab
commit
9bcde2c7de
|
@ -1,4 +1,5 @@
|
|||
# Copyright (C) 2008 by Volker Lanz <vl@fidra.de>
|
||||
# Copyright (C) 2014-2018 by Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# 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")
|
||||
|
|
Loading…
Reference in New Issue