Update TDEL10n module

+ CMP0007 setting is no longer needed.

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

@ -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( )

Loading…
Cancel
Save