diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index d0b3b89..8ab4a7a 100644 --- a/modules/TDEL10n.cmake +++ b/modules/TDEL10n.cmake @@ -517,11 +517,6 @@ macro( tde_l10n_preparetips _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 ) string( REGEX REPLACE "[^\n]" "" _tips_len ${_tips_html} ) string( LENGTH "+${_tips_len}" _tips_len ) @@ -557,9 +552,6 @@ macro( tde_l10n_preparetips _tips ) endwhile( ) file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/${_tips}.tde_l10n "${_tips_l10n}" ) - if( POLICY CMP0007 ) - cmake_policy( POP ) - endif( POLICY CMP0007 ) endif( ) endmacro( )