Neal Gompa wrote:
> If it's a header-only library, CMake stuff being installed into
> %{_libdir} is probably wrong. CMake has a noarch path in %{_datadir},
> so it probably needs fixing to use that.

Indeed, CMake will also find CMake data under %{_datadir}, and data for 
noarch packages must be installed there.

CMake will not do it automagically for you, you need to actually explicitly 
install the files to the proper place. INSTALL(EXPORTS takes a DESTINATION 
argument:
https://cmake.org/cmake/help/v3.15/command/install.html#installing-exports
It needs to be set to the correct path.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to