Merge topic 'FindSWIG-noproxy'
96a8890c
FindSWIG: Do not generate erroneous outputs with -noproxy
This commit is contained in:
commit
fe0e9a35ce
|
@ -153,10 +153,12 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
|
|||
else()
|
||||
set(swig_outdir ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif()
|
||||
if (NOT SWIG_MODULE_${name}_NOPROXY)
|
||||
SWIG_GET_EXTRA_OUTPUT_FILES(${SWIG_MODULE_${name}_LANGUAGE}
|
||||
swig_extra_generated_files
|
||||
"${swig_outdir}"
|
||||
"${swig_source_file_fullname}")
|
||||
endif()
|
||||
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