commit | b05c2c1c7fca03a0f1c4ec3ebc28ff74c03d3702 | [log] [tgz] |
---|---|---|
author | Brian Sipos <brian.sipos@jhuapl.edu> | Mon Oct 28 14:03:36 2024 -0400 |
committer | GitHub <noreply@github.com> | Mon Oct 28 11:03:36 2024 -0700 |
tree | 63a59b0f98517a61e2a5394aedfee39f807b24ac | |
parent | 07ea92521018a6d7ee368dd39bb1dcf3df58ba54 [diff] |
Adding SOVERSION property to shared library (#262)
diff --git a/CMakeLists.txt b/CMakeLists.txt index e4aa83f..7291e78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -83,7 +83,9 @@ ) set_target_properties( qcbor PROPERTIES - PUBLIC_HEADER "${HEADERS}" + VERSION ${PROJECT_VERSION} + SOVERSION ${PROJECT_VERSION_MAJOR} + PUBLIC_HEADER "${HEADERS}" ) include(GNUInstallDirs) install(