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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
From: Leopold Palomo-Avellaneda <leo@alaxarxa.net>
Date: Wed, 12 Jul 2017 15:01:33 +0200
Subject: Add Debian specific SOVERSION
---
depth_image_proc/CMakeLists.txt | 1 +
image_proc/CMakeLists.txt | 2 ++
image_publisher/CMakeLists.txt | 1 +
image_rotate/CMakeLists.txt | 2 ++
image_view/CMakeLists.txt | 2 ++
stereo_image_proc/CMakeLists.txt | 2 ++
6 files changed, 10 insertions(+)
--- a/depth_image_proc/CMakeLists.txt
+++ b/depth_image_proc/CMakeLists.txt
@@ -31,6 +31,7 @@ add_library(${PROJECT_NAME} src/nodelets
src/nodelets/register.cpp
)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${depth_image_proc_VERSION} SOVERSION "0d")
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
--- a/image_proc/CMakeLists.txt
+++ b/image_proc/CMakeLists.txt
@@ -37,6 +37,8 @@ add_library(${PROJECT_NAME} src/libimage
src/nodelets/edge_aware.cpp
src/nodelets/crop_non_zero.cpp
)
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${image_proc_VERSION} SOVERSION "0d")
+
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES} ${OpenCV_LIBRARIES})
--- a/image_publisher/CMakeLists.txt
+++ b/image_publisher/CMakeLists.txt
@@ -19,6 +19,7 @@ catkin_package()
include_directories(${catkin_INCLUDE_DIRS})
add_library(${PROJECT_NAME} SHARED src/nodelet/image_publisher_nodelet.cpp)
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${image_publisher_VERSION} SOVERSION "0d")
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg)
install(TARGETS image_publisher
--- a/image_rotate/CMakeLists.txt
+++ b/image_rotate/CMakeLists.txt
@@ -14,6 +14,8 @@ find_package(OpenCV REQUIRED core imgpro
include_directories(${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
add_library(${PROJECT_NAME} SHARED src/nodelet/image_rotate_nodelet.cpp)
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${image_rotate_VERSION} SOVERSION "0d")
+
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_gencfg)
install(TARGETS image_rotate
--- a/image_view/CMakeLists.txt
+++ b/image_view/CMakeLists.txt
@@ -52,6 +52,8 @@ target_link_libraries(image_view ${catki
${OpenCV_LIBRARIES}
${Boost_LIBRARIES}
)
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${image_view_VERSION} SOVERSION "0d")
+
add_dependencies(image_view ${PROJECT_NAME}_gencfg)
install(TARGETS image_view
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
--- a/stereo_image_proc/CMakeLists.txt
+++ b/stereo_image_proc/CMakeLists.txt
@@ -27,6 +27,8 @@ add_definitions(-DOPENCV_TRAITS_ENABLE_D
# Nodelet library
add_library(${PROJECT_NAME} src/libstereo_image_proc/processor.cpp src/nodelets/disparity.cpp src/nodelets/point_cloud2.cpp)
+set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${stereo_image_proc_VERSION} SOVERSION "0d")
+
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
)
|