From 55969dcf232bfaa554a099cb78c9d9e31c18c845 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 17 May 2004 16:31:58 -0400 Subject: ENH: append to the list of clean files, don't just set them --- Modules/UseSWIG.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 6485a1f..2f9af54 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -146,7 +146,7 @@ MACRO(SWIG_ADD_MODULE name language) SWIG_ADD_SOURCE_TO_MODULE(${name} swig_generated_source ${it}) SET(swig_generated_sources ${swig_generated_sources} "${swig_generated_source}") ENDFOREACH(it) - SET(ADDITIONAL_MAKE_CLEAN_FILES ${swig_generated_sources}) + SET(ADDITIONAL_MAKE_CLEAN_FILES ${ADDITIONAL_MAKE_CLEAN_FILES} ${swig_generated_sources}) ADD_LIBRARY(${SWIG_MODULE_${name}_REAL_NAME} MODULE ${swig_generated_sources} -- cgit v0.12