BUG: Bug #835 fix, add swig generated files to clean target
This commit is contained in:
parent
5fc2cf6b7c
commit
fdb358e9cc
Modules
|
@ -146,7 +146,7 @@ MACRO(SWIG_ADD_MODULE name language)
|
||||||
SWIG_ADD_SOURCE_TO_MODULE(${name} swig_generated_source ${it})
|
SWIG_ADD_SOURCE_TO_MODULE(${name} swig_generated_source ${it})
|
||||||
SET(swig_generated_sources ${swig_generated_sources} "${swig_generated_source}")
|
SET(swig_generated_sources ${swig_generated_sources} "${swig_generated_source}")
|
||||||
ENDFOREACH(it)
|
ENDFOREACH(it)
|
||||||
|
SET(ADDITIONAL_MAKE_CLEAN_FILES ${swig_generated_sources})
|
||||||
ADD_LIBRARY(${SWIG_MODULE_${name}_REAL_NAME}
|
ADD_LIBRARY(${SWIG_MODULE_${name}_REAL_NAME}
|
||||||
MODULE
|
MODULE
|
||||||
${swig_generated_sources}
|
${swig_generated_sources}
|
||||||
|
|
Loading…
Reference in New Issue