Skip to content

Commit

Permalink
Merge pull request #978 from Conan-Kudo/set-soversion-to-vermajor
Browse files Browse the repository at this point in the history
Set the shared object version (SOVERSION) to only the major.minor version
  • Loading branch information
paullouisageneau authored Sep 15, 2023
2 parents b1d4e3c + 7591b96 commit 793f4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 793f4b5

Please sign in to comment.