Merge topic 'UseSWIG-use-absolute-path'
dd7e31bc
UseSWIG: Fix module name detection with relative source file (#15508)
This commit is contained in:
commit
53ef9a0a9e
|
@ -156,7 +156,7 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
|
|||
SWIG_GET_EXTRA_OUTPUT_FILES(${SWIG_MODULE_${name}_LANGUAGE}
|
||||
swig_extra_generated_files
|
||||
"${swig_outdir}"
|
||||
"${infile}")
|
||||
"${swig_source_file_fullname}")
|
||||
set(swig_generated_file_fullname
|
||||
"${swig_outdir}/${swig_source_file_name_we}")
|
||||
# add the language into the name of the file (i.e. TCL_wrap)
|
||||
|
|
Loading…
Reference in New Issue