octave: make sure to find the serial hdf5 include first
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
parent
46f4084555
commit
d4448fa294
@ -19,7 +19,7 @@ if isOctave()
|
||||
fflush(stdout);
|
||||
if isunix
|
||||
[res, fn_so] = unix('find /usr/lib -name libhdf5.so');
|
||||
[res, fn_h] = unix('find /usr/include -name hdf5.h | head -1');
|
||||
[res, fn_h] = unix('find /usr/include -name hdf5.h | sort -r | head -1');
|
||||
if length(fn_so)>0 && length(fn_h)>0
|
||||
[hdf5lib_dir, hdf5lib_fn, ext] = fileparts(fn_so);
|
||||
disp(["HDF5 library path found at: " hdf5lib_dir])
|
||||
|
Loading…
Reference in New Issue
Block a user