|
|
@ -1126,9 +1126,9 @@ macro( tde_add_library _arg_target )
|
|
|
|
# set embedded archives
|
|
|
|
# set embedded archives
|
|
|
|
if( _embed )
|
|
|
|
if( _embed )
|
|
|
|
if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )
|
|
|
|
if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )
|
|
|
|
list( INSERT _link 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
|
|
|
|
list( INSERT _link_private 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
|
|
|
|
else( )
|
|
|
|
else( )
|
|
|
|
list( INSERT _link 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
|
|
|
|
list( INSERT _link_private 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
endif( _embed )
|
|
|
|
endif( _embed )
|
|
|
|
|
|
|
|
|
|
|
@ -1138,9 +1138,9 @@ macro( tde_add_library _arg_target )
|
|
|
|
if( _link )
|
|
|
|
if( _link )
|
|
|
|
list( INSERT _link 0 "PUBLIC" )
|
|
|
|
list( INSERT _link 0 "PUBLIC" )
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
list( APPEND _link "PRIVATE" )
|
|
|
|
list( INSERT _link_private 0 "PRIVATE" )
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
list( APPEND _link ${_link_private} )
|
|
|
|
list( INSERT _link 0 ${_link_private} )
|
|
|
|
endif( _link_private )
|
|
|
|
endif( _link_private )
|
|
|
|
|
|
|
|
|
|
|
|
# set link libraries
|
|
|
|
# set link libraries
|
|
|
|