Package: ros-class-loader / 0.4.1-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: 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 b656b69..4a03cfc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,6 +54,7 @@ set(${PROJECT_NAME}_HDRS
   include/class_loader/register_macro.hpp
 )
 add_library(${PROJECT_NAME} ${${PROJECT_NAME}_SRCS} ${${PROJECT_NAME}_HDRS})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${class_loader_VERSION} SOVERSION "1d")
 target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES} ${console_bridge_LIBRARIES} ${Poco_LIBRARIES})
 if(WIN32)
   # Causes the visibility macros to use dllexport rather than dllimport