From 45cfe22ac89a078e524afc2311be96724d727db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Dec 2018 11:21:42 +0100 Subject: [PATCH] Update TDEL10n module + CMP0007 setting is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEL10n.cmake | 8 -------- 1 file changed, 8 deletions(-) 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( )