Bump version to 3.1.0.

This commit is contained in:
Andrius Štikonas 2017-06-14 00:20:24 +02:00
parent 64463944f7
commit 680586da5b
1 changed files with 4 additions and 3 deletions

View File

@ -22,10 +22,11 @@ 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.7.0")
set(KPMCORE_MIN_VERSION "3.0.0")
# Check KPMcore dependency when bumping
set(VERSION_MAJOR "3")
set(VERSION_MINOR "0")
set(VERSION_RELEASE "50")
set(VERSION_MINOR "1")
set(VERSION_RELEASE "0")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_RELEASE})
add_definitions(-D'VERSION="${VERSION}"') #"
@ -74,7 +75,7 @@ add_definitions(
)
find_package(PkgConfig REQUIRED)
find_package(KPMcore 3.0.0 REQUIRED)
find_package(KPMcore ${KPMCORE_MIN_VERSION} REQUIRED)
pkg_check_modules(BLKID REQUIRED blkid)
include_directories(${Qt5Core_INCLUDE_DIRS} ${UUID_INCLUDE_DIRS} ${BLKID_INCLUDE_DIRS} ${KPMCORE_INCLUDE_DIR} lib/ src/)