diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-09 11:21:42 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-09 11:21:42 +0100 |
commit | 45cfe22ac89a078e524afc2311be96724d727db3 (patch) | |
tree | 3eb7f5853d75e4319955bd11e2a5e1daf31049a6 | |
parent | ebe1ddc721494cdfe14a93f38f49eec7d048c048 (diff) | |
download | tde-cmake-45cfe22ac89a078e524afc2311be96724d727db3.tar.gz tde-cmake-45cfe22ac89a078e524afc2311be96724d727db3.zip |
Update TDEL10n module
+ CMP0007 setting is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | modules/TDEL10n.cmake | 8 |
1 files changed, 0 insertions, 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( ) |