Rex Dieter 29094f
From 1948ee845726be15861f9f84a745b30ecb18051c Mon Sep 17 00:00:00 2001
Rex Dieter 29094f
From: Matthias Kretz <kretz@kde.org>
Rex Dieter 29094f
Date: Fri, 6 Feb 2009 08:26:43 +0000
Rex Dieter 29094f
Subject: [PATCH 01/33] fix make clean: it's SET_directory_properties and not
Rex Dieter 29094f
 ADD_directory_properties.
Rex Dieter 29094f
Rex Dieter 29094f
svn path=/trunk/kdesupport/automoc/; revision=922011
Rex Dieter 29094f
---
Rex Dieter 29094f
 Automoc4Config.cmake | 4 +++-
Rex Dieter 29094f
 1 file changed, 3 insertions(+), 1 deletion(-)
Rex Dieter 29094f
Rex Dieter 29094f
diff --git a/Automoc4Config.cmake b/Automoc4Config.cmake
Rex Dieter 29094f
index e79cf8c..5fcab74 100644
Rex Dieter 29094f
--- a/Automoc4Config.cmake
Rex Dieter 29094f
+++ b/Automoc4Config.cmake
Rex Dieter 29094f
@@ -198,7 +198,9 @@ macro(_ADD_AUTOMOC4_TARGET _target_NAME _SRCS)
Rex Dieter 29094f
       endif(_AUTOMOC4_EXECUTABLE_DEP)
Rex Dieter 29094f
 
Rex Dieter 29094f
       set_source_files_properties(${_automoc_source} PROPERTIES GENERATED TRUE)
Rex Dieter 29094f
-      set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${_automoc_source})
Rex Dieter 29094f
+      get_directory_property(_extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)
Rex Dieter 29094f
+      list(APPEND _extra_clean_files "${_automoc_source}")
Rex Dieter 29094f
+      set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${_extra_clean_files}")
Rex Dieter 29094f
       set(${_SRCS} ${_automoc_source} ${${_SRCS}})
Rex Dieter 29094f
    endif(_moc_files)
Rex Dieter 29094f
 endmacro(_ADD_AUTOMOC4_TARGET)
Rex Dieter 29094f
-- 
Rex Dieter 29094f
2.4.3
Rex Dieter 29094f