Commit f26147b8 authored by Julien Schueller's avatar Julien Schueller Committed by Brad King

UseSWIG: Enable NO_SONAME on swig modules (#14815)

Swig modules are plugins and do not need the SONAME field set.
parent f039a3a7
......@@ -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 "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment