akheron / jansson

C library for encoding, decoding and manipulating JSON data
http://www.digip.org/jansson/
Other
3.02k stars 807 forks source link

janssonConfig.cmake only packaged on Fedora and OpenMandriva #668

Closed JosiahWI closed 6 days ago

JosiahWI commented 8 months ago

The CMake config and target files are not getting packaged. I have confirmed the files are missing on Alma 9, and according to this package search they are missing everywhere but Fedora and OpenMandriva. Unless a user of libjansson is only targeting Fedora and OpenMandriva, this means they can't rely on the config.

Is there something you can do so package maintainers get those files included in their packages?

akheron commented 6 days ago

Not sure which files you mean specifically, but at least janssonConfig.cmake is generated by running CMake. The idea is not to ship the build system generated by CMake, but just enough files to be able to run CMake to generate the build system.

JosiahWI commented 6 days ago

I mean that

find_package(jansson)

does not work on most systems after installing libjansson-devel or whatever the package may be called. This may not be an issue with this repository, as far as I know, but with the packaging on those systems.