Blob Blame History Raw
From 6295b5bdfcbca13a8842d1912f9c5dbe4b1769e5 Mon Sep 17 00:00:00 2001
From: thomas moulard <thomas.moulard@gmail.com>
Date: Thu, 4 Jul 2013 00:05:24 +0900
Subject: [PATCH] Add SOVERSION

---
 urdf_parser/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/urdf_parser/CMakeLists.txt b/urdf_parser/CMakeLists.txt
index 605d64c..cd23331 100644
--- a/urdf_parser/CMakeLists.txt
+++ b/urdf_parser/CMakeLists.txt
@@ -2,15 +2,19 @@ include_directories(include)
 
 add_library(urdfdom_world SHARED src/pose.cpp src/model.cpp src/link.cpp src/joint.cpp src/world.cpp)
 target_link_libraries(urdfdom_world ${tinyxml_libraries} ${console_bridge_LIBRARIES} ${Boost_LIBRARIES})
+set_target_properties(urdfdom_world PROPERTIES SOVERSION 0.2)
 
 add_library(urdfdom_model SHARED src/pose.cpp src/model.cpp src/link.cpp src/joint.cpp)
 target_link_libraries(urdfdom_model ${tinyxml_libraries} ${console_bridge_LIBRARIES} ${Boost_LIBRARIES})
+set_target_properties(urdfdom_model PROPERTIES SOVERSION 0.2)
 
 add_library(urdfdom_sensor SHARED src/urdf_sensor.cpp)
 target_link_libraries(urdfdom_sensor urdfdom_model ${tinyxml_libraries} ${console_bridge_LIBRARIES} ${Boost_LIBRARIES})
+set_target_properties(urdfdom_sensor PROPERTIES SOVERSION 0.2)
 
 add_library(urdfdom_model_state SHARED src/urdf_model_state.cpp src/twist.cpp)
 target_link_libraries(urdfdom_model_state ${tinyxml_libraries} ${console_bridge_LIBRARIES} ${Boost_LIBRARIES})
+set_target_properties(urdfdom_model_state PROPERTIES SOVERSION 0.2)
 
 # --------------------------------
 
-- 
1.8.1.6