ENH: append to the list of clean files, don't just set them

This commit is contained in:
Bill Hoffman 2004-05-17 16:31:58 -04:00
parent 0ace9ada2c
commit 55969dcf23
1 changed files with 1 additions and 1 deletions

View File

@ -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}