cosmicrays / hermes

HERMES is a publicly available computational framework for the line of sight integration over galactic radiative processes which creates sky maps in the HEALPix-compatibile format.
GNU General Public License v3.0
23 stars 9 forks source link

cmake can find fftw and cfitsio now from ENV #26

Closed joveh closed 2 years ago

joveh commented 2 years ago

Motivation: https://github.com/cosmicrays/hermes/issues/23

A small patch to allow the cmake build to find fftw at FFTW_BASE or FFTW and cfitsio at CFITSIO_BASE or CFITSIO this will allow users to install these requiernments in custom location which is very handy for multi user systems (e.g. HPC)

The patch was tested with the following system: uname -a Linux 4.15.0-171-generic #180-Ubuntu gcc 9.1 cmake 3.18.4

adundovi commented 2 years ago

OK! Great addition. Thanks.