Commit ebe1657c authored by Justin Brewer's avatar Justin Brewer Committed by Mark Nunberg
Browse files

Obey HIREDIS_SONAME for shared library


Signed-off-by: default avatarJustin Brewer <jzb0012@auburn.edu>
parent 7d38176b
......@@ -11,6 +11,7 @@ ENDMACRO(getVersionBit)
getVersionBit(HIREDIS_MAJOR)
getVersionBit(HIREDIS_MINOR)
getVersionBit(HIREDIS_PATCH)
getVersionBit(HIREDIS_SONAME)
SET(VERSION "${HIREDIS_MAJOR}.${HIREDIS_MINOR}.${HIREDIS_PATCH}")
MESSAGE("Detected version: ${VERSION}")
......@@ -30,7 +31,7 @@ ADD_LIBRARY(hiredis SHARED
SET_TARGET_PROPERTIES(hiredis
PROPERTIES
VERSION "${VERSION}")
VERSION "${HIREDIS_SONAME}")
CONFIGURE_FILE(hiredis.pc.in hiredis.pc @ONLY)
......
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