From f26147b8716adfbc46d93df0b05c7cde0c9413f4 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Thu, 20 Mar 2014 09:57:38 +0100 Subject: [PATCH] UseSWIG: Enable NO_SONAME on swig modules (#14815) Swig modules are plugins and do not need the SONAME field set. --- Modules/UseSWIG.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 4ae6f813a..9347687b2 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 "")