Add library versioning

This commit is contained in:
Dennis Klein 2018-04-18 02:25:44 +02:00
parent d98207b475
commit a01aac4467
No known key found for this signature in database
GPG Key ID: 08E62D23FA0ECBBC

View File

@ -236,7 +236,10 @@ target_link_libraries(FairMQ
${NANOMSG_DEPS} ${NANOMSG_DEPS}
${OFI_DEPS} ${OFI_DEPS}
) )
set_target_properties(FairMQ PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
)
############### ###############
# executables # # executables #