Commit 9e49f809 authored by Volker Krause's avatar Volker Krause
Browse files

Rename the version variables to KPkPass too

parent 6f2bfeac
cmake_minimum_required(VERSION 3.0)
project(itinerary VERSION 0.0.1)
project(KPkPass VERSION 0.0.1)
find_package(ECM 5.38 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_SOURCE_DIR}/cmake)
......@@ -15,8 +15,8 @@ include(KDECMakeSettings)
include(GenerateExportHeader)
set(CMAKE_AUTOMOC ON)
ecm_setup_version(PROJECT VARIABLE_PREFIX ITINERARY
VERSION_HEADER itinerary_version.h
ecm_setup_version(PROJECT VARIABLE_PREFIX KPKPASS
VERSION_HEADER kpkpass_version.h
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KPkPassConfigVersion.cmake"
)
......
......@@ -14,8 +14,8 @@ ecm_qt_declare_logging_category(pkpass_srcs
add_library(KPkPass SHARED ${pkpass_srcs})
generate_export_header(KPkPass BASE_NAME KPkPass)
set_target_properties(KPkPass PROPERTIES
VERSION ${ITINERARY_VERSION_STRING}
SOVERSION ${ITINERARY_SOVERSION}
VERSION ${KPKPASS_VERSION_STRING}
SOVERSION ${KPKPASS_SOVERSION}
EXPORT_NAME KPkPass
)
target_include_directories(KPkPass INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}>")
......
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