Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
b314c0df
Unverified
Commit
b314c0df
authored
Apr 07, 2020
by
Michael Grunder
Committed by
GitHub
Apr 07, 2020
Browse files
Merge pull request #780 from yossigo/fix/cmake_ssl_so_version
CMake: Set hiredis_ssl shared object version.
parents
cc9d0329
1b967bc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b314c0df
...
...
@@ -66,6 +66,9 @@ IF(ENABLE_SSL)
FIND_PACKAGE
(
OpenSSL REQUIRED
)
ADD_LIBRARY
(
hiredis_ssl SHARED
ssl.c
)
SET_TARGET_PROPERTIES
(
hiredis_ssl
PROPERTIES
VERSION
"
${
HIREDIS_SONAME
}
"
)
TARGET_INCLUDE_DIRECTORIES
(
hiredis_ssl PRIVATE
"
${
OPENSSL_INCLUDE_DIR
}
"
)
TARGET_LINK_LIBRARIES
(
hiredis_ssl PRIVATE
${
OPENSSL_LIBRARIES
}
)
CONFIGURE_FILE
(
hiredis_ssl.pc.in hiredis_ssl.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