Package: ros-rviz / 1.12.4+dfsg-2

0001-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: Wed, 5 Aug 2015 14:05:24 +0200
Subject: Add Debian specific SOVERSION

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

diff --git a/src/rviz/CMakeLists.txt b/src/rviz/CMakeLists.txt
index 3ccaf0e..0814749 100644
--- a/src/rviz/CMakeLists.txt
+++ b/src/rviz/CMakeLists.txt
@@ -144,6 +144,7 @@ target_link_libraries(${PROJECT_NAME}
   yaml-cpp
 )
 
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${rviz_VERSION} SOVERSION "2d")
 
 if(APPLE)
   set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")