Commit Graph

4 Commits

Author SHA1 Message Date
Panu Matilainen 14c1ee29fb Add a cmake shortcut to the macros.d directory 2023-10-05 09:28:19 +03:00
Panu Matilainen 3d3b1557ea Export our config dir in the cmake package
We do this with pkg-config so why not cmake?
2023-10-03 15:40:04 +03:00
Panu Matilainen ab28534f9e Make our plugin directory a global cache configurable and export it
Make the plugin directory a cache item and honor wrt it wrt macros.
Export the info in both pkg-config and our cmake package info.
2023-10-03 15:40:04 +03:00
Panu Matilainen 6ec0e4069e Export our libraries as a cmake find_package() config
This is a fair amount of annoying voodoo boilerplate compared to what I
would've expected, but the ability to just `find_package(rpm)` is
very nice on the (API) user side.

Fixes: #2471
2023-09-01 10:43:33 +03:00