|
|
|
@ -764,13 +764,13 @@ function( tde_l10n_prepare_xml )
|
|
|
|
|
if( NOT _source )
|
|
|
|
|
tde_message_fatal( "no source XML file" )
|
|
|
|
|
endif( )
|
|
|
|
|
if( NOT "${_source}" MATCHES "^/" )
|
|
|
|
|
if( NOT IS_ABSOLUTE "${_source}" )
|
|
|
|
|
set( _source "${CMAKE_CURRENT_SOURCE_DIR}/${_source}" )
|
|
|
|
|
endif( )
|
|
|
|
|
if( NOT _target )
|
|
|
|
|
set( _target "${_source}.tde_l10n" )
|
|
|
|
|
endif( )
|
|
|
|
|
if( NOT "${_target}" MATCHES "^/" )
|
|
|
|
|
if( NOT IS_ABSOLUTE "${_target}" )
|
|
|
|
|
set( _target "${CMAKE_CURRENT_SOURCE_DIR}/${_target}" )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
@ -978,13 +978,13 @@ function( tde_l10n_prepare_xmlattr )
|
|
|
|
|
if( NOT _source )
|
|
|
|
|
tde_message_fatal( "no source XML file" )
|
|
|
|
|
endif( )
|
|
|
|
|
if( NOT "${_source}" MATCHES "^/" )
|
|
|
|
|
if( NOT IS_ABSOLUTE "${_source}" )
|
|
|
|
|
set( _source "${CMAKE_CURRENT_SOURCE_DIR}/${_source}" )
|
|
|
|
|
endif( )
|
|
|
|
|
if( NOT _target )
|
|
|
|
|
set( _target "${_source}.tde_l10n" )
|
|
|
|
|
endif( )
|
|
|
|
|
if( NOT "${_target}" MATCHES "^/" )
|
|
|
|
|
if( NOT IS_ABSOLUTE "${_target}" )
|
|
|
|
|
set( _target "${CMAKE_CURRENT_SOURCE_DIR}/${_target}" )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|