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

package info (click to toggle)
ros-actionlib 1.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,204 kB
  • sloc: cpp: 4,473; python: 2,127; xml: 55; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Leopold Palomo-Avellaneda <leopold.palomo@upc.edu>
Date: Mon, 27 Apr 2015 15:38:55 +0200
Subject: Add Debian specific SONAME

---
 actionlib/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/actionlib/CMakeLists.txt b/actionlib/CMakeLists.txt
index ce583b8..416587c 100644
--- a/actionlib/CMakeLists.txt
+++ b/actionlib/CMakeLists.txt
@@ -20,6 +20,9 @@ catkin_package(
 )
 
 add_library(actionlib src/connection_monitor.cpp src/goal_id_generator.cpp)
+if(ACTIONLIB_SOVERSION)
+  set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION ${ACTIONLIB_SOVERSION})
+endif()
 target_link_libraries(actionlib ${catkin_LIBRARIES} ${Boost_LIBRARIES})
 add_dependencies(actionlib actionlib_gencpp)