summaryrefslogtreecommitdiffstats
path: root/modules/TDEMacros.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r--modules/TDEMacros.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 2afde45..4f5f59e 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -109,6 +109,17 @@ endif( )
################################################
#####
+##### 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> )
##### default theme: hicolor
##### default destination: ${SHARE_INSTALL_DIR}/icons