Merge topic 'fixbug_0011782'
0378396
UseSWIG.cmake did not support multiple modules and parallel builds
This commit is contained in:
commit
051a2200da
|
@ -124,6 +124,7 @@ ENDMACRO(SWIG_MODULE_INITIALIZE)
|
||||||
#
|
#
|
||||||
|
|
||||||
MACRO(SWIG_GET_EXTRA_OUTPUT_FILES language outfiles generatedpath infile)
|
MACRO(SWIG_GET_EXTRA_OUTPUT_FILES language outfiles generatedpath infile)
|
||||||
|
SET(${outfiles} "")
|
||||||
GET_SOURCE_FILE_PROPERTY(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename
|
GET_SOURCE_FILE_PROPERTY(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename
|
||||||
${infile} SWIG_MODULE_NAME)
|
${infile} SWIG_MODULE_NAME)
|
||||||
IF(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename STREQUAL "NOTFOUND")
|
IF(SWIG_GET_EXTRA_OUTPUT_FILES_module_basename STREQUAL "NOTFOUND")
|
||||||
|
|
Loading…
Reference in New Issue