| 1 |
Description: Set SOVERSION to major.minor rather than major.minor.patch |
| 2 |
Author: Ben Westover <[email protected]> |
| 3 |
Forwarded: https://github.com/brainboxdotcc/DPP/pull/1451 |
| 4 |
Last-Update: 2025-06-30 |
| 5 |
|
| 6 |
--- a/library/CMakeLists.txt |
| 7 |
+++ b/library/CMakeLists.txt |
| 8 |
@@ -264,7 +264,7 @@ |
| 9 |
set_target_properties(${modname} |
| 10 |
PROPERTIES |
| 11 |
VERSION ${CMAKE_PROJECT_VERSION} |
| 12 |
|
| 13 |
+ SOVERSION ${DPP_VERSION_MAJOR}.${DPP_VERSION_MINOR} |
| 14 |
POSITION_INDEPENDENT_CODE true |
| 15 |
) |
| 16 |
target_include_directories(${modname} PUBLIC |