[ros-vision-opencv] 02/02: Add Debian specific SOVERSION

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Nov 30 09:20:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

jspricke-guest pushed a commit to branch patch-queue/master
in repository ros-vision-opencv.

commit 78d27020167fc7438b52e26b26d0e05ae25e4185
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Aug 4 20:29:10 2015 +0200

    Add Debian specific SOVERSION
    
    
    Gbp-Pq: Name 0002-Add-Debian-specific-SOVERSION.patch
---
 cv_bridge/src/CMakeLists.txt  | 1 +
 image_geometry/CMakeLists.txt | 1 +
 opencv_apps/CMakeLists.txt    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/cv_bridge/src/CMakeLists.txt b/cv_bridge/src/CMakeLists.txt
index 806cd05..d0b92ae 100644
--- a/cv_bridge/src/CMakeLists.txt
+++ b/cv_bridge/src/CMakeLists.txt
@@ -3,6 +3,7 @@ include_directories(./)
 add_library(${PROJECT_NAME} cv_bridge.cpp)
 add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
 target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBRARIES} ${catkin_LIBRARIES})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${cv_bridge_VERSION} SOVERSION "0d")
 
 install(TARGETS ${PROJECT_NAME} DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
 
diff --git a/image_geometry/CMakeLists.txt b/image_geometry/CMakeLists.txt
index 3c9cb30..b89b28e 100644
--- a/image_geometry/CMakeLists.txt
+++ b/image_geometry/CMakeLists.txt
@@ -20,6 +20,7 @@ include_directories(include)
 # add a library
 add_library(${PROJECT_NAME} src/pinhole_camera_model.cpp src/stereo_camera_model.cpp)
 target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBRARIES})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${image_geometry_VERSION} SOVERSION "0d")
 add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
 
 install(DIRECTORY include/${PROJECT_NAME}/
diff --git a/opencv_apps/CMakeLists.txt b/opencv_apps/CMakeLists.txt
index 90d0262..6341630 100644
--- a/opencv_apps/CMakeLists.txt
+++ b/opencv_apps/CMakeLists.txt
@@ -182,6 +182,7 @@ add_library(${PROJECT_NAME} SHARED
 )
 
 target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${opencv_apps_VERSION} SOVERSION "0d")
 add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg ${PROJECT_NAME}_generate_messages_cpp)
 install(TARGETS ${PROJECT_NAME}
         DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-vision-opencv.git



More information about the debian-science-commits mailing list