diff options
author | Julien Schueller <schueller@phimeca.com> | 2014-03-20 09:57:38 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-01 10:48:13 -0400 |
commit | f26147b8716adfbc46d93df0b05c7cde0c9413f4 (patch) | |
tree | c36a7b24d616a43a06109a6d208bba9b21f9220c /Modules/UseSWIG.cmake | |
parent | f039a3a78e58f5ab2724704294513d7c25f0510c (diff) | |
download | cmake-f26147b8716adfbc46d93df0b05c7cde0c9413f4.tar.gz |
UseSWIG: Enable NO_SONAME on swig modules (#14815)
Swig modules are plugins and do not need the SONAME field set.
Diffstat (limited to 'Modules/UseSWIG.cmake')
-rw-r--r-- | Modules/UseSWIG.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 4ae6f813ad..9347687b2a 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -201,6 +201,7 @@ macro(SWIG_ADD_MODULE name language) MODULE ${swig_generated_sources} ${swig_other_sources}) + set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES NO_SONAME ON) string(TOLOWER "${language}" swig_lowercase_language) if ("${swig_lowercase_language}" STREQUAL "octave") set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "") |