Am Donnerstag, dem 09.12.2021 um 15:43 +0100 schrieb Florian Weimer:
* Ben Beasley:
> Of the twelve header-only libraries for which I am primary
> maintainer
> (atomic-queue, debugbreak, dr_libs, earcut-hpp, fast_float, geompp,
> gulrak-filesystem, hedley, lexertl14, pcg-cpp, stb, wyhash), nine
> look
> like they could benefit from this technique, and the remaining three
> could not because they install CMake files to %{_libdir}/cmake.
Can we teach cmake to look under %{_datarootdir}/cmake as well?
CMake already does that, as long as the path is
%{_datarootdir}/cmake/${pkg_name} and the dir contains valid .cmake
files.
Björn aka besser82