Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1975571 Details for
Bug 2203090
Upgrade logiops to v0.3.1
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
SOVERSION and install targets
0001-cmake-add-VERSION-and-install.patch (text/plain), 1.43 KB, created by
John Dou
on 2023-07-13 10:30:51 UTC
(
hide
)
Description:
SOVERSION and install targets
Filename:
MIME Type:
Creator:
John Dou
Created:
2023-07-13 10:30:51 UTC
Size:
1.43 KB
patch
obsolete
>From 144a234fda5f3d36fd261fd5d88fd0d1a117dad5 Mon Sep 17 00:00:00 2001 >From: Yaroslav Syrytsia <me@ys.lc> >Date: Thu, 13 Jul 2023 12:28:35 +0200 >Subject: [PATCH] cmake: add VERSION and install > > >diff --git a/CMakeLists.txt b/CMakeLists.txt >index f951811..f68c49d 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -1,5 +1,6 @@ > cmake_minimum_required(VERSION 3.10) > project(ipcgull) >+include(GNUInstallDirs) > > set(CMAKE_CXX_STANDARD 17) > >@@ -43,12 +44,25 @@ if (BUILD_SHARED) > add_library(ipcgull_shared SHARED $<TARGET_OBJECTS:ipcgull>) > target_link_libraries(ipcgull_shared PUBLIC $<TARGET_PROPERTY:ipcgull,LINK_LIBRARIES>) > set_target_properties(ipcgull_shared PROPERTIES OUTPUT_NAME ipcgull) >+ set_target_properties(ipcgull_shared PROPERTIES >+ VERSION 0.0.1 >+ SOVERSION 1 >+ ) >+ install(TARGETS ipcgull_shared LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) > endif() > > if (BUILD_STATIC) > add_library(ipcgull_static STATIC $<TARGET_OBJECTS:ipcgull>) > target_link_libraries(ipcgull_static PUBLIC $<TARGET_PROPERTY:ipcgull,LINK_LIBRARIES>) > set_target_properties(ipcgull_static PROPERTIES OUTPUT_NAME ipcgull) >+ install(TARGETS ipcgull_static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) >+endif() >+ >+if (BUILD_SHARED OR BUILD_STATIC) >+ install( >+ DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/include/ipcgull >+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} >+) > endif() > > if (${BUILD_TESTS}) >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2203090
: 1975571