Silence warnings on CMP0026 with CMake 3.x

pull/1/head
Slávek Banko 8 years ago
parent 38a8a335c3
commit 0d5ca8bebb

@ -107,6 +107,17 @@ endif( )
########### slave part ends here ###############
################################################
#####
##### CMP0026 states we should not read the LOCATION property of a target,
##### and should be using generators instead. We can't do that here however
##### because we need the value of the property at configure time.
if( POLICY CMP0026 )
cmake_policy( SET CMP0026 OLD )
endif( POLICY CMP0026 )
################################################
#####
##### tde_install_icons( <icons...> THEME <svgicons> DESTINATION <destdir> )

Loading…
Cancel
Save