diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-17 20:31:58 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-17 20:31:58 (GMT) |
commit | 55969dcf232bfaa554a099cb78c9d9e31c18c845 (patch) | |
tree | 1b889f835c41b7fce4c8dd44e55bacca2f2f3572 | |
parent | 0ace9ada2c326e21f5defb02ff3a7a853123f035 (diff) | |
download | CMake-55969dcf232bfaa554a099cb78c9d9e31c18c845.zip CMake-55969dcf232bfaa554a099cb78c9d9e31c18c845.tar.gz CMake-55969dcf232bfaa554a099cb78c9d9e31c18c845.tar.bz2 |
ENH: append to the list of clean files, don't just set them
-rw-r--r-- | Modules/UseSWIG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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} |