File: 0001-Add-Debian-specific-SOVERSION.patch

package info (click to toggle)
ros-class-loader 0.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 264 kB
  • ctags: 215
  • sloc: cpp: 1,610; ansic: 24; xml: 21; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Tue, 2 Jun 2015 10:28:32 +0200
Subject: Add Debian specific SOVERSION

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0764700..509adc6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ set(${PROJECT_NAME}_HDRS
 )
 add_library(${PROJECT_NAME} ${${PROJECT_NAME}_SRCS} ${${PROJECT_NAME}_HDRS})
 target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES} ${console_bridge_LIBRARIES} ${Poco_LIBRARIES})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${class_loader_VERSION} SOVERSION "0d")
 
 install(TARGETS ${PROJECT_NAME}
   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}