Azrael3000/Crixus

Environment variable in CMakeLists.txt

Closed this issue · 2 comments

Hey Arno,

In your CMakeLists.txt you have the following environment variable:

set(ENV{HDF5_ROOT} "/home/arnom/software/shdf5")

Through this variable you force users to have HDF5 installed locally and the directory to be given, however it might be better to comment this line.

This is because HDF5 can be downloaded through apt-get (by downloading libhdf5-serial-dev), and in this case it isn't necessary to set this environment variable.

I think it will be better to leave this commented and add a troubleshooting section in your INSTALL file explaining how to modify the CMakeLists.txt file if necessary.

Thanks Antoine. That sounds like a sensible idea. I will try and do that soon.

Resolved in 3238b0e and e1c7fd1