Fix CMP0011 warning related to CMP0026

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1d1f9fc4fd)
v3.5.13-sru
Slávek Banko 9 years ago
parent 637a4afb8f
commit 558024e7a4

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

Loading…
Cancel
Save