diff options
author | Böszörményi Zoltán <zboszor@pr.hu> | 2018-01-04 09:19:47 +0100 |
---|---|---|
committer | Garrett D'Amore <garrett@damore.org> | 2018-01-09 13:14:01 -0800 |
commit | e91e2d18842d12a303586114d4c8f1fe10e9afc2 (patch) | |
tree | 6ef94752bc97e204af6e5e8faacf03b3eae7b46d /CMakeLists.txt | |
parent | 377080485af82099eb0500cdcec018f913ec26bb (diff) | |
download | nanomsg-e91e2d18842d12a303586114d4c8f1fe10e9afc2.tar.gz |
Fix library SOVERSION
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5274442..1727a95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,8 +58,9 @@ string (REGEX REPLACE ".*#define +NN_VERSION_AGE +([0-9]+).*" "\\1" NN_VERSION_A if ((NN_VERSION_CURRENT STREQUAL "") OR (NN_VERSION_REVISION STREQUAL "") OR (NN_VERSION_AGE STREQUAL "")) message (FATAL_ERROR "Could not read ABI version from nn.h") else () - set (NN_ABI_VERSION "${NN_VERSION_CURRENT}.${NN_VERSION_REVISION}.${NN_VERSION_AGE}") - message (STATUS "Detected nanomsg ABI v${NN_ABI_VERSION}") + set (NN_ABI_VERSION "${NN_VERSION_CURRENT}") + set (NN_LIB_VERSION "${NN_VERSION_CURRENT}.${NN_VERSION_REVISION}.${NN_VERSION_AGE}") + message (STATUS "Detected nanomsg ABI v${NN_ABI_VERSION} (v${NN_LIB_VERSION})") endif () # Determine package version. |