# Recurse into individual binding subdirectories.
add_subdirectory(matlab)

# Recurse into individual binding subdirectories, if we are supposed to.
if(MATLAB_BINDINGS)
  add_subdirectory(matlab)
endif(MATLAB_BINDINGS)

Move conditional on matlab bindings to matlab-specific subdirectory.
Move conditional on matlab bindings to matlab-specific subdirectory.

