...
Change the script (optional)
You NOTE that you can change the script to include the HDF5_DIR environment variable. For example add this after line 3 in the script:
set ( ENV {HDF5_DIR} c:/Program Files/HDF_Group/1.10.5/cmake/hdf5/ )
Also note that if you have multiple versions of HDF5 on your machine, then you must specify the HDF5 version in the find_package
call:
...