summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@votca.org>2017-06-17 17:37:43 (GMT)
committerMathis Rosenhauer <rosenhauer@dkrz.de>2017-06-22 07:11:07 (GMT)
commit2f88a84a8b8a9b37265df6714774d35a6b8d341d (patch)
treeb7f474fd8036bb801ba0ed08d1437c7f2118b742
parente03befe623669aa353b147bdf02a7938c70abc8e (diff)
downloadlibaec-2f88a84a8b8a9b37265df6714774d35a6b8d341d.zip
libaec-2f88a84a8b8a9b37265df6714774d35a6b8d341d.tar.gz
libaec-2f88a84a8b8a9b37265df6714774d35a6b8d341d.tar.bz2
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: Christoph Junghans <junghans@votca.org>
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f53bf22..2198cce 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,11 +1,11 @@
SET(libaec_SRCS encode.c encode_accessors.c decode.c)
ADD_LIBRARY(aec ${LIB_TYPE} ${libaec_SRCS})
SET_TARGET_PROPERTIES(aec PROPERTIES
- SOVERSION 0.0.6
+ VERSION 0.0.6 SOVERSION 0
)
ADD_LIBRARY(sz ${LIB_TYPE} sz_compat.c)
SET_TARGET_PROPERTIES(sz PROPERTIES
- SOVERSION 2.0.1
+ VERSION 2.0.1 SOVERSION 2
)
TARGET_LINK_LIBRARIES(sz aec)