Install location of myframework_version.h headers
Alex Merry
alex.merry at kde.org
Wed May 13 18:25:36 UTC 2015
On Wednesday 13 May 2015 08:37:19 Kevin Funk wrote:
> Right, and I just noticed a problem I didn't think of before: There's no
> $PREFIX/include/KF5/$myframework/ where I could install
> ${myframework}_version.h into for some of the frameworks :)
>
> KConfig for instance has two libs, but only installs a single version
> header. - $PREFIX/include/KF5/KConfigCore/...
> - $PREFIX/include/KF5/KConfigGui/...
> - $PREFIX/include/KF5/kconfig_version.h
>
> Now in order to "move" kconfig_version.h to a proper location, I'd have to
> install both a kconfigcore_version.h and kconfiggui_version.h to their
> resp. locations:
> - $PREFIX/include/KF5/KConfigCore/kconfigcore_version.h
> - $PREFIX/include/KF5/KConfigGui/kconfiggui_version.h
>
> This would make the CMake code for installing the version header quite
> different for those modules, so I'm wondering how to proceed...
A possible solution is to install kconfig_version.h to
$PREFIX/include/KF5/KConfig, and add that to the exported include paths for
both libraries.
Alex
More information about the Kde-frameworks-devel
mailing list