summaryrefslogtreecommitdiffstats
path: root/Modules/UseSWIG.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-01 15:06:06 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-01 15:06:06 (GMT)
commit09498984b13ef2a61992dda0afacd3b050049f88 (patch)
tree5f3f2b066b55bb9873c48b64719f9ba0f1a99951 /Modules/UseSWIG.cmake
parente3e1ba3f781c621835dc5e46783fecb6ccaad127 (diff)
parentf26147b8716adfbc46d93df0b05c7cde0c9413f4 (diff)
downloadCMake-09498984b13ef2a61992dda0afacd3b050049f88.zip
CMake-09498984b13ef2a61992dda0afacd3b050049f88.tar.gz
CMake-09498984b13ef2a61992dda0afacd3b050049f88.tar.bz2
Merge topic 'UseSWIG-NO_SONAME'
f26147b8 UseSWIG: Enable NO_SONAME on swig modules (#14815)
Diffstat (limited to 'Modules/UseSWIG.cmake')
-rw-r--r--Modules/UseSWIG.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 11ca205..23bf933 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -200,6 +200,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 "")