conda-forge / cfitsio-feedstock

A conda-smithy repository for cfitsio.
BSD 3-Clause "New" or "Revised" License
0 stars 18 forks source link

cmake config files not included in package #42

Open maxnoe opened 2 weeks ago

maxnoe commented 2 weeks ago

Solution to issue cannot be found in the documentation.

Issue

For using cfitsio via cmake, it would be great if the cfitsio-config.cmake and related cmake files that come with recent versions of cfitsio would also be included in this package.

Installed packages

n/a

Environment info

n/a
pkgw commented 2 weeks ago

An implementation note: it looks like to do this correctly we'd need to switch the build system over to CMake, since the Autoconf system doesn't have code to generate the CMake files from the templates. It would probably be fine to fill in those templates ourselves, but I would worry about variable definitions differing subtly between CMake and Autotools.

And if we switch the build system, we should be careful that the resulting shared libraries are binary compatible, the same headers get installed, etc. Once again, everything will probably be OK but it's important to check carefully.