diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2015-04-01 16:50:42 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2015-04-01 16:50:42 +0200 |
commit | 130b87d0b0aa0979c3f8bfdb9ff97be7051da370 (patch) | |
tree | 3eee1e04fc6ba890bcfbc188643db694434865d5 /src/CMakeLists.txt | |
parent | 8b140deb5343bb192e9903c3033e9e23ff7b363b (diff) |
Include patch level in soname
Minor version is tied to spec version, so this allows to break the ABI
between spec releases.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index af38691..06c13e0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -82,10 +82,10 @@ endif () add_library(${LIBRARY} SHARED ${LIBRARY_SOURCES}) add_library(${STATICLIBRARY} STATIC ${LIBRARY_SOURCES}) -# Include minor version in soname as long as major version is 0. +# Include minor version and patch level in soname for now. set_target_properties(${LIBRARY} PROPERTIES OUTPUT_NAME "cmark" - SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} + SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} VERSION ${PROJECT_VERSION}) if (MSVC) |