Commit fa894c30 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'UseSWIG-octave'

f39671c1 UseSWIG: Handle octave extensions.
parents f3a10191 f39671c1
...@@ -203,7 +203,10 @@ macro(SWIG_ADD_MODULE name language) ...@@ -203,7 +203,10 @@ macro(SWIG_ADD_MODULE name language)
${swig_generated_sources} ${swig_generated_sources}
${swig_other_sources}) ${swig_other_sources})
string(TOLOWER "${language}" swig_lowercase_language) string(TOLOWER "${language}" swig_lowercase_language)
if ("${swig_lowercase_language}" STREQUAL "java") if ("${swig_lowercase_language}" STREQUAL "octave")
set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".oct")
elseif ("${swig_lowercase_language}" STREQUAL "java")
if (APPLE) if (APPLE)
# In java you want: # In java you want:
# System.loadLibrary("LIBRARY"); # System.loadLibrary("LIBRARY");
......
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