| 1 |
Description: Add an soname to the library |
| 2 |
Since upstream doesn't use sonames, we just use the version number |
| 3 |
|
| 4 |
--- orocos-bfl-0.8.0.orig/src/CMakeLists.txt |
| 5 |
+++ orocos-bfl-0.8.0/src/CMakeLists.txt |
| 6 |
@@ -18,6 +18,7 @@ ENDIF( OROCOS_PLUGIN ) |
| 7 |
IF (LIBRARY_TYPE STREQUAL "shared") |
| 8 |
ADD_LIBRARY(orocos-bfl SHARED $ENV{GLOBAL_LIBRARY_SRCS}) |
| 9 |
SET_TARGET_PROPERTIES(orocos-bfl PROPERTIES OUTPUT_NAME orocos-bfl) |
| 10 |
+ SET_TARGET_PROPERTIES(orocos-bfl PROPERTIES VERSION "${VERSION}" SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}") |
| 11 |
INSTALL_TARGETS( /lib orocos-bfl) |
| 12 |
ELSE (LIBRARY_TYPE STREQUAL "shared") |
| 13 |
|