summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-01 09:06:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-01 09:06:01 -0700
commit2adadab5ce2e01c76f00c94ad7d78117e22d29d4 (patch)
tree3eee1e04fc6ba890bcfbc188643db694434865d5
parent8b140deb5343bb192e9903c3033e9e23ff7b363b (diff)
parent130b87d0b0aa0979c3f8bfdb9ff97be7051da370 (diff)
Merge pull request #25 from nwellnhof/include_patchlevel_in_soname
Include patch level in soname
-rw-r--r--src/CMakeLists.txt4
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)