|
|
@ -517,11 +517,6 @@ macro( tde_l10n_preparetips _tips )
|
|
|
|
|
|
|
|
|
|
|
|
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_tips} )
|
|
|
|
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${_tips} )
|
|
|
|
|
|
|
|
|
|
|
|
if( POLICY CMP0007 )
|
|
|
|
|
|
|
|
cmake_policy( PUSH )
|
|
|
|
|
|
|
|
cmake_policy( SET CMP0007 NEW )
|
|
|
|
|
|
|
|
endif( POLICY CMP0007 )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
file( READ ${CMAKE_CURRENT_SOURCE_DIR}/${_tips} _tips_html )
|
|
|
|
file( READ ${CMAKE_CURRENT_SOURCE_DIR}/${_tips} _tips_html )
|
|
|
|
string( REGEX REPLACE "[^\n]" "" _tips_len ${_tips_html} )
|
|
|
|
string( REGEX REPLACE "[^\n]" "" _tips_len ${_tips_html} )
|
|
|
|
string( LENGTH "+${_tips_len}" _tips_len )
|
|
|
|
string( LENGTH "+${_tips_len}" _tips_len )
|
|
|
@ -557,9 +552,6 @@ macro( tde_l10n_preparetips _tips )
|
|
|
|
endwhile( )
|
|
|
|
endwhile( )
|
|
|
|
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/${_tips}.tde_l10n "${_tips_l10n}" )
|
|
|
|
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/${_tips}.tde_l10n "${_tips_l10n}" )
|
|
|
|
|
|
|
|
|
|
|
|
if( POLICY CMP0007 )
|
|
|
|
|
|
|
|
cmake_policy( POP )
|
|
|
|
|
|
|
|
endif( POLICY CMP0007 )
|
|
|
|
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
endmacro( )
|
|
|
|
endmacro( )
|
|
|
|