1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Leopold Palomo-Avellaneda <leopold.palomo@upc.edu>
Date: Wed, 29 Apr 2015 13:27:23 +0200
Subject: Add Debian specific SONAME
---
tf2/CMakeLists.txt | 1 +
tf2_ros/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+)
diff --git a/tf2/CMakeLists.txt b/tf2/CMakeLists.txt
index a43e14b..8f0957e 100644
--- a/tf2/CMakeLists.txt
+++ b/tf2/CMakeLists.txt
@@ -18,6 +18,7 @@ include_directories(include ${catkin_INCLUDE_DIRS} ${console_bridge_INCLUDE_DIRS
#CPP Libraries
add_library(tf2 src/cache.cpp src/buffer_core.cpp src/static_cache.cpp)
target_link_libraries(tf2 ${Boost_LIBRARIES} ${catkin_LIBRARIES} ${console_bridge_LIBRARIES})
+set_target_properties(tf2 PROPERTIES VERSION ${tf2_VERSION} SOVERSION "2d")
add_dependencies(tf2 ${catkin_EXPORTED_TARGETS})
install(TARGETS tf2
diff --git a/tf2_ros/CMakeLists.txt b/tf2_ros/CMakeLists.txt
index cb01537..da01133 100644
--- a/tf2_ros/CMakeLists.txt
+++ b/tf2_ros/CMakeLists.txt
@@ -49,6 +49,7 @@ add_library(${PROJECT_NAME}
)
add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${tf2_ros_VERSION} SOVERSION "1d")
# buffer_server executable
add_executable(${PROJECT_NAME}_buffer_server src/buffer_server_main.cpp)
|