casacore / casarest

The remainder of the AIPS++ libraries that did not end up on casacore
GNU General Public License v3.0
4 stars 12 forks source link

Problem finding cfitsio in fedora core 26 #16

Closed matmanc closed 7 years ago

matmanc commented 7 years ago

The CMake script struggles to find the already installed cfitsio library.

I fixed the problem changing line 38 of cmake/FindCfitsIO.cmake from HINTS ${CFITSIO_ROOT_DIR} PATH_SUFFIXES include) to HINTS ${CFITSIO_ROOT_DIR} PATH_SUFFIXES include PATH_SUFFIXES cfitsio)

for a more general solution you might want to use HINTS ${CFITSIO_ROOT_DIR} PATH_SUFFIXES include include/cfitsio include/libcfitsio0)