Jasvirbahl / b-tk

Automatically exported from code.google.com/p/b-tk
0 stars 0 forks source link

Octave not found even though it is installed (linux) #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download current revision (772)
2. configure with BTK_WRAP_OCTAVE set to ON
3.

What is the expected output? What do you see instead?
The script FindOctave successfully finds all required files, however the 
variable OCTAVE_ROOT gets a value of "". For CMake this is the same as FALSE 
and therefore the call to FIND_PACKAGE_HANDLE_STANDARD_ARGS (... OCTAVE_ROOT 
...) fails.

What version of the product are you using? On what operating system?
revision 772

Please provide any additional information below.
Attached to this report is a fix for FindOctave.cmake that solves this issue. 
Also it removes some comments that are not relevant to this file.

Original issue reported on code.google.com by martin.f...@gmail.com on 12 Sep 2011 at 9:54

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in the revision r778 as proposed.

Original comment by arnaud.barre on 13 Sep 2011 at 9:53