- Commit
- 2adadab5ce2e01c76f00c94ad7d78117e22d29d4
- Parent
- 8b140deb5343bb192e9903c3033e9e23ff7b363b
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Merge pull request #25 from nwellnhof/include_patchlevel_in_soname
Include patch level in soname
My personal build of CMark ✏️
Merge pull request #25 from nwellnhof/include_patchlevel_in_soname
Include patch level in soname
1 file changed, 2 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/CMakeLists.txt | 4 | 2 | 2 |
diff --git 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)