mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
Merge branch 'UseSWIG-handle-SWIG_MODULE_NAME' into release-3.12
Merge-request: !2145
This commit is contained in:
@@ -237,7 +237,7 @@ function(SWIG_GET_EXTRA_OUTPUT_FILES language outfiles generatedpath infile)
|
||||
set(files)
|
||||
get_source_file_property(module_basename
|
||||
"${infile}" SWIG_MODULE_NAME)
|
||||
if(NOT swig_module_basename)
|
||||
if(NOT module_basename)
|
||||
|
||||
# try to get module name from "%module foo" syntax
|
||||
if ( EXISTS "${infile}" )
|
||||
|
||||
Reference in New Issue
Block a user