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

package info (click to toggle)
ros-nodelet-core 1.9.8-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 484 kB
  • ctags: 453
  • sloc: cpp: 2,088; python: 326; xml: 167; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 917 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 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 5d9eea4..2773adf 100644
--- a/nodelet/CMakeLists.txt
+++ b/nodelet/CMakeLists.txt
@@ -31,6 +31,7 @@ include_directories(include ${catkin_INCLUDE_DIRS} ${BOOST_INCLUDE_DIRS})
 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 "0d")
 
 add_executable(nodelet src/nodelet.cpp)
 target_link_libraries(nodelet nodeletlib ${UUID_LIBRARIES} ${catkin_LIBRARIES} ${BOOST_LIBRARIES})