summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-16 13:58:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-16 13:58:52 (GMT)
commit53ef9a0a9e2937cbda9939593188f3bc75ef24ee (patch)
treee0424a359db2f537b0051ba7bf73546d997e7b8d /Modules
parent2ee128d9c8440b056e495cabc2efe411607ee568 (diff)
parentdd7e31bc15471b5c3ea31fcbe2002650780e78b6 (diff)
downloadCMake-53ef9a0a9e2937cbda9939593188f3bc75ef24ee.zip
CMake-53ef9a0a9e2937cbda9939593188f3bc75ef24ee.tar.gz
CMake-53ef9a0a9e2937cbda9939593188f3bc75ef24ee.tar.bz2
Merge topic 'UseSWIG-use-absolute-path'
dd7e31bc UseSWIG: Fix module name detection with relative source file (#15508)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/UseSWIG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 7423418..1862876 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -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)