diff --git a/CMakeLists.txt b/CMakeLists.txt index 27c723a2c..d4d29eb1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -272,7 +272,7 @@ add_library(datachannel SHARED ${LIBDATACHANNEL_IMPL_HEADERS}) set_target_properties(datachannel PROPERTIES VERSION ${PROJECT_VERSION} - SOVERSION ${PROJECT_VERSION} + SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} CXX_STANDARD 17 CXX_VISIBILITY_PRESET default) target_compile_definitions(datachannel PRIVATE RTC_EXPORTS)