Commit dd7e31bc authored by Tuukka Pasanen's avatar Tuukka Pasanen Committed by Brad King

UseSWIG: Fix module name detection with relative source file (#15508)

When SWIG_GET_EXTRA_OUTPUT_FILES checks to see if a source file exists
for use in reading the module name, it must pass an absolute path to
the if(EXISTS) command.  Teach SWIG_ADD_SOURCE_TO_MODULE to give it
the absolute path it already knows.
parent cdc53b62
......@@ -156,7 +156,7 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
# add the language into the name of the file (i.e. TCL_wrap)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment