summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-17 19:55:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-17 19:55:35 (GMT)
commitfdb358e9ccfe1d9f47344997e1304a5be0831ea1 (patch)
tree42ab47b6aa287f6848bf7a6dba5906bbe4e36b77 /Modules
parent5fc2cf6b7cdbcbbb7b6f4fe556ed64c89fa2a230 (diff)
downloadCMake-fdb358e9ccfe1d9f47344997e1304a5be0831ea1.zip
CMake-fdb358e9ccfe1d9f47344997e1304a5be0831ea1.tar.gz
CMake-fdb358e9ccfe1d9f47344997e1304a5be0831ea1.tar.bz2
BUG: Bug #835 fix, add swig generated files to clean target
Diffstat (limited to 'Modules')
-rw-r--r--Modules/UseSWIG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index efd6447..6485a1f 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})
ADD_LIBRARY(${SWIG_MODULE_${name}_REAL_NAME}
MODULE
${swig_generated_sources}