Set proper shared library soname.

This commit is contained in:
Sascha Peilicke 2011-01-18 21:35:57 +01:00
parent ec3c7a16c2
commit 2d5ef6ad0d

View File

@ -74,6 +74,7 @@ ENDIF ()
# Compile and link libgit2 # Compile and link libgit2
ADD_LIBRARY(git2 ${SRC} ${SRC_PLAT} ${SRC_SHA1}) ADD_LIBRARY(git2 ${SRC} ${SRC_PLAT} ${SRC_SHA1})
SET_TARGET_PROPERTIES(git2 PROPERTIES VERSION 0.0.1 SOVERSION 0)
TARGET_LINK_LIBRARIES(git2 ${ZLIB_LIBRARY} ${LIB_SHA1} ${PTHREAD_LIBRARY}) TARGET_LINK_LIBRARIES(git2 ${ZLIB_LIBRARY} ${LIB_SHA1} ${PTHREAD_LIBRARY})
# Install # Install