FindOctave

Finds GNU Octave interpreter, libraries and compilers.

Imported targets

This module defines the following IMPORTED targets:

Octave::Interpreter
Octave interpreter (the main program)
Octave::Octave
include directories and the octave library
Octave::Octinterp
include directories and the octinterp library including the dependency on Octave::Octave

If no COMPONENTS are specified, Interpreter is assumed.

Result Variables

Octave_FOUND
Octave interpreter and/or libraries were found
Octave_<component>_FOUND
Octave <component> specified was found
Octave_EXECUTABLE
Octave interpreter
Octave_INCLUDE_DIRS
include path for mex.h
Octave_LIBRARIES
octinterp, octave libraries

Cache variables

The following cache variables may also be set:

Octave_INTERP_LIBRARY
path to the library octinterp
Octave_OCTAVE_LIBRARY
path to the liboctave library