Merge topic 'fixbug_0011782'

0378396 UseSWIG.cmake did not support multiple modules and parallel builds
This commit is contained in:
Brad King 2011-04-12 14:44:16 -04:00 committed by CMake Topic Stage
commit 051a2200da

View File

@ -124,6 +124,7 @@ ENDMACRO(SWIG_MODULE_INITIALIZE)
#
MACRO(SWIG_GET_EXTRA_OUTPUT_FILES language outfiles generatedpath infile)
SET(${outfiles} "")
GET_SOURCE_FILE_PROPERTY(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename
${infile} SWIG_MODULE_NAME)
IF(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename STREQUAL "NOTFOUND")