Fix installation of base soname for libraries with release number in the name.

This resolves regression from prior commit.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/27/head
Slávek Banko 6 years ago
parent 0a40752779
commit ab096402b3
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -884,7 +884,7 @@ macro( tde_add_library _arg_target )
# install base soname
if( _release AND NOT "STATIC" STREQUAL ${_type} )
tde_get_library_filename( _output ${_target} )
tde_get_library_filename( _soname ${_target} )
string( REPLACE "-${_release}" "" _soname_base "${_soname}" )
if( _version )
get_target_property( _soversion ${_target} SOVERSION )

Loading…
Cancel
Save