UseSWIG: Enable NO_SONAME on swig modules (#14815)
Swig modules are plugins and do not need the SONAME field set.
This commit is contained in:
parent
f039a3a78e
commit
f26147b871
|
@ -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 "")
|
||||
|
|
Loading…
Reference in New Issue