Fix CMP0011 warning related to CMP0026

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 10 years ago
parent beb73fe239
commit 1d1f9fc4fd

@ -115,6 +115,7 @@ endif( )
##### because we need the value of the property at configure time. ##### because we need the value of the property at configure time.
if( POLICY CMP0026 ) if( POLICY CMP0026 )
cmake_policy( PUSH )
cmake_policy( SET CMP0026 OLD ) cmake_policy( SET CMP0026 OLD )
endif( POLICY CMP0026 ) endif( POLICY CMP0026 )
@ -1555,3 +1556,13 @@ macro( tde_setup_architecture_flags )
set( TDE_PIE_LDFLAGS -pie ) set( TDE_PIE_LDFLAGS -pie )
endif( HAVE_PIE_SUPPORT ) endif( HAVE_PIE_SUPPORT )
endmacro( ) endmacro( )
################################################
#####
##### Restore CMP0026 policy
if( POLICY CMP0026 )
cmake_policy( POP )
endif( POLICY CMP0026 )

Loading…
Cancel
Save