Commit 2f88a84a authored by Christoph Junghans's avatar Christoph Junghans Committed by Mathis Rosenhauer

cmake: fix lib link to soversion

Follow shared library standard: libXXX.so now gets symlinked
libXXX.so.2, which is symlinked to the real library libXXX.so.X.Y.Z
Signed-off-by: default avatarChristoph Junghans <junghans@votca.org>
parent e03befe6
SET(libaec_SRCS encode.c encode_accessors.c decode.c) SET(libaec_SRCS encode.c encode_accessors.c decode.c)
ADD_LIBRARY(aec ${LIB_TYPE} ${libaec_SRCS}) ADD_LIBRARY(aec ${LIB_TYPE} ${libaec_SRCS})
SET_TARGET_PROPERTIES(aec PROPERTIES SET_TARGET_PROPERTIES(aec PROPERTIES
SOVERSION 0.0.6 VERSION 0.0.6 SOVERSION 0
) )
ADD_LIBRARY(sz ${LIB_TYPE} sz_compat.c) ADD_LIBRARY(sz ${LIB_TYPE} sz_compat.c)
SET_TARGET_PROPERTIES(sz PROPERTIES SET_TARGET_PROPERTIES(sz PROPERTIES
SOVERSION 2.0.1 VERSION 2.0.1 SOVERSION 2
) )
TARGET_LINK_LIBRARIES(sz aec) TARGET_LINK_LIBRARIES(sz aec)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment