diff options
author | Brad King <brad.king@kitware.com> | 2018-06-12 13:58:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-12 14:00:41 (GMT) |
commit | 3dd046a84b3fae99a36b7f7680310344b986b5a9 (patch) | |
tree | 879f010111ec549d25ee05c4b293b3bdd028827e /Modules | |
parent | 1f3221f365f269f3356de0ad0112cf68e4831fe6 (diff) | |
parent | 156138d5f1d15a79f86db64bbe2dd6043fd3b43f (diff) | |
download | CMake-3dd046a84b3fae99a36b7f7680310344b986b5a9.zip CMake-3dd046a84b3fae99a36b7f7680310344b986b5a9.tar.gz CMake-3dd046a84b3fae99a36b7f7680310344b986b5a9.tar.bz2 |
Merge branch 'UseSWIG-handle-SWIG_MODULE_NAME' into release-3.12
Merge-request: !2145
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/UseSWIG.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 8713cd8..1f36308 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -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}" ) |