Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
ebe1657c
Commit
ebe1657c
authored
Jan 22, 2019
by
Justin Brewer
Committed by
Mark Nunberg
Feb 20, 2019
Browse files
Obey HIREDIS_SONAME for shared library
Signed-off-by:
Justin Brewer
<
jzb0012@auburn.edu
>
parent
7d38176b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ebe1657c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment