Multiplatform frameworks

Alex Merry alex.merry at kde.org
Sun Mar 1 10:39:31 GMT 2015


On Friday 27 February 2015 22:55:18 Alex Merry wrote:
> On Friday 27 February 2015 13:29:59 Jeremy Whiting wrote:
> > On Fri, Feb 27, 2015 at 4:05 AM, Alex Merry <alex.merry at kde.org> wrote:
> > > 4. Use the PATH_VARS to ecm_configure_package_config_file().
> > > 
> > > ecm_configure_package_config_file() behaves like
> > > configure_package_config_file from
> > > CMake 3.0, so see
> > > http://www.cmake.org/cmake/help/v3.1/module/CMakePackageConfigHelpers.ht
> > > ml
> > > 
> > > Basically, you add KDE_INSTALL_DATADIR to the PATH_VARS argument of
> > > ecm_configure_package_config_file(), and use
> > > @PACKAGE_KDE_INSTALL_DATADIR@
> > > in
> > > your Config.cmake.in file, and it should all work.

This is now implemented across frameworks. I haven't touched any libraries 
outside frameworks, though.

Alex




More information about the kde-core-devel mailing list