Commit a82894e6 authored by Jonathan Riddell's avatar Jonathan Riddell 🏄
Browse files

Change KDE_APPLICATIONS_VERSION to RELEASE_SERVICE_VERSION https://phabricator.kde.org/T11933

GIT_SILENT
parent e3d21419
cmake_minimum_required(VERSION 3.5)
# KDE Application Version, managed by release script
set (KDE_APPLICATIONS_VERSION_MAJOR "20")
set (KDE_APPLICATIONS_VERSION_MINOR "03")
set (KDE_APPLICATIONS_VERSION_MICRO "70")
set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}")
set (RELEASE_SERVICE_VERSION_MAJOR "20")
set (RELEASE_SERVICE_VERSION_MINOR "03")
set (RELEASE_SERVICE_VERSION_MICRO "70")
set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
project(kfloppy VERSION ${KDE_APPLICATIONS_VERSION})
project(kfloppy VERSION ${RELEASE_SERVICE_VERSION})
if(NOT UNIX)
message(FATAL_ERROR "KFloppy is only supposed to be built on Unix platforms.")
......@@ -40,7 +40,7 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
endif()
set(kfloppy_SRCS main.cpp format.cpp floppy.cpp )
set_property(SOURCE main.cpp APPEND PROPERTY COMPILE_DEFINITIONS "KFLOPPY_VERSION=\"${KDE_APPLICATIONS_VERSION}\"")
set_property(SOURCE main.cpp APPEND PROPERTY COMPILE_DEFINITIONS "KFLOPPY_VERSION=\"${RELEASE_SERVICE_VERSION}\"")
ecm_qt_declare_logging_category(kfloppy_SRCS HEADER kfloppy_debug.h IDENTIFIER KFLOPPY_LOG CATEGORY_NAME org.kde.kfloppy)
......
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