Skip to content

Commit

Permalink
[build] Made SRT versioned SO named with major and minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Małecki authored and maxsharabayko committed Jan 14, 2021
1 parent 6e78ecb commit 2856305
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 @@ -821,7 +821,7 @@ if (srt_libspec_shared)
# shared libraries need PIC
set (CMAKE_POSITION_INDEPENDENT_CODE ON)
set_property(TARGET ${TARGET_srt}_shared PROPERTY OUTPUT_NAME ${TARGET_srt})
set_target_properties (${TARGET_srt}_shared PROPERTIES VERSION ${SRT_VERSION} SOVERSION ${SRT_VERSION_MAJOR})
set_target_properties (${TARGET_srt}_shared PROPERTIES VERSION ${SRT_VERSION} SOVERSION ${SRT_VERSION_MAJOR}.${SRT_VERSION_MINOR})
list (APPEND INSTALL_TARGETS ${TARGET_srt}_shared)
if (ENABLE_ENCRYPTION)
target_link_libraries(${TARGET_srt}_shared PRIVATE ${SSL_LIBRARIES})
Expand Down

0 comments on commit 2856305

Please sign in to comment.