|
|
@ -259,8 +259,8 @@ endmacro( )
|
|
|
|
macro( tde_install_la_file _target _destination )
|
|
|
|
macro( tde_install_la_file _target _destination )
|
|
|
|
|
|
|
|
|
|
|
|
get_target_property( _target_location ${_target} LOCATION )
|
|
|
|
get_target_property( _target_location ${_target} LOCATION )
|
|
|
|
get_filename_component( _laname ${_target_location} NAME_WE )
|
|
|
|
|
|
|
|
get_filename_component( _soname ${_target_location} NAME )
|
|
|
|
get_filename_component( _soname ${_target_location} NAME )
|
|
|
|
|
|
|
|
string( REGEX REPLACE "\\.so(\\.[0-9]+)*$" "" _laname "${_soname}" )
|
|
|
|
set( _laname ${CMAKE_CURRENT_BINARY_DIR}/${_laname}.la )
|
|
|
|
set( _laname ${CMAKE_CURRENT_BINARY_DIR}/${_laname}.la )
|
|
|
|
|
|
|
|
|
|
|
|
file( WRITE ${_laname}
|
|
|
|
file( WRITE ${_laname}
|
|
|
@ -450,7 +450,8 @@ macro( tde_install_libtool_file _target _destination )
|
|
|
|
get_target_property( _target_location ${_target} LOCATION )
|
|
|
|
get_target_property( _target_location ${_target} LOCATION )
|
|
|
|
|
|
|
|
|
|
|
|
# get name of target
|
|
|
|
# get name of target
|
|
|
|
get_filename_component( _name ${_target_location} NAME_WE )
|
|
|
|
get_filename_component( _name ${_target_location} NAME )
|
|
|
|
|
|
|
|
string( REGEX REPLACE "\\.so(\\.[0-9]+)*$" "" _name "${_name}" )
|
|
|
|
|
|
|
|
|
|
|
|
# get .la name
|
|
|
|
# get .la name
|
|
|
|
set( _laname ${_name}.la )
|
|
|
|
set( _laname ${_name}.la )
|
|
|
|