Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:embar-:Lietukas
kpmcore
fix-build.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build.diff of Package kpmcore
From cc3cc8b08af8ad4d40fc65eee306963a44ecaa94 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck <tittiatcoke@gmail.com> Date: Fri, 10 Jul 2015 09:18:34 +0200 Subject: Create a versioned library diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eb237f2..b8f00d0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -47,6 +47,12 @@ target_link_libraries( kpmcore KF5::Service ) +set_target_properties(kpmcore PROPERTIES + VERSION ${KPMCORE_VERSION} + SOVERSION ${KPMCORE_SOVERSION} + EXPORT_NAME KPMcore +) + install(TARGETS kpmcore EXPORT KPMcoreTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) install(FILES ${CORE_LIB_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/kpmcore/core/ COMPONENT Devel) install(FILES ${BACKEND_LIB_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/kpmcore/backend/ COMPONENT Devel)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor