Package: ros-nodelet-core / 1.9.16-1

0002-Add-Debian-specific-SOVERSION.patch Patch series | 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 17:44:31 +0200
Subject: Add Debian specific SOVERSION

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

diff --git a/nodelet/CMakeLists.txt b/nodelet/CMakeLists.txt
index 37db68c..60ceab3 100644
--- a/nodelet/CMakeLists.txt
+++ b/nodelet/CMakeLists.txt
@@ -43,6 +43,7 @@ include_directories(
 add_library(nodeletlib src/nodelet_class.cpp src/loader.cpp src/callback_queue.cpp src/callback_queue_manager.cpp)
 target_link_libraries(nodeletlib ${catkin_LIBRARIES} ${BOOST_LIBRARIES})
 add_dependencies(nodeletlib ${nodelet_EXPORTED_TARGETS})
+set_target_properties(nodeletlib PROPERTIES VERSION ${nodelet_VERSION} SOVERSION "1d")
 
 add_executable(nodelet src/nodelet.cpp)
 target_link_libraries(nodelet nodeletlib ${UUID_LIBRARIES} ${catkin_LIBRARIES} ${BOOST_LIBRARIES})