Commit b8667b04 authored by Rohan Asokan's avatar Rohan Asokan Committed by Nicolas Fella
Browse files

## Setting version of Kwave in the Cmake files

This would help give the app stream metadata. As these applications like Discover use this version as metadata for a listing of the application.

This is a fix proposed for the following bug pointed to on Bugzilla: https://bugs.kde.org/show_bug.cgi?id=425034

A similar change was also proposed to Kdenline for similar reasons, which can be seen here: https://github.com/KDE/kdenlive/commit/50085b9fca6690e22145a0afbf3882746877bf68
parent 7fa7a149
......@@ -22,11 +22,6 @@
# #
#############################################################################
#############################################################################
### project name and version ###
PROJECT(kwave)
# KDE Application Version, managed by release script
set (RELEASE_SERVICE_VERSION_MAJOR "20")
set (RELEASE_SERVICE_VERSION_MINOR "11")
......@@ -86,6 +81,11 @@ IF (POLICY CMP0075)
CMAKE_POLICY(SET CMP0075 NEW)
ENDIF (POLICY CMP0075)
# Set policy for the VERSION inside PROJECT
IF (POLICY CMP0048)
CMAKE_POLICY(SET CMP0048 NEW)
ENDIF (POLICY CMP0048)
SET(ECM_MIN_VERSION "1.7.0")
SET(QT_MIN_VERSION "5.14.0")
SET(KF5_MIN_VERSION "5.33.0")
......@@ -106,6 +106,11 @@ SET(KWAVE_VERSION_MICRO ${RELEASE_SERVICE_VERSION_MICRO})
SET(KWAVE_VERSION "${KWAVE_VERSION_MAJOR}.${KWAVE_VERSION_MINOR}.${KWAVE_VERSION_MICRO}")
MESSAGE(STATUS "Building Kwave version ${KWAVE_VERSION}")
#############################################################################
### project name and version ###
PROJECT(Kwave VERSION ${KWAVE_VERSION})
#############################################################################
### show the compiler name and version ###
......
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