Using dynamic Qt plugins in KAuth

Alexander Neundorf neundorf at kde.org
Sun Feb 14 20:00:38 CET 2010


On Sunday 14 February 2010, Dario Freddi wrote:
> (No need to spam the lists for that)
>
> On Sunday 14 February 2010 18:30:01 you wrote:
> > > _set_fancy(KAUTH_BACKEND_PLUGIN_DIR
> > > "${PLUGIN_INSTALL_DIR}/plugins/kauth/backend" "Where KAuth's backend
> > > plugin will be installed")
> > >
> > > Is the correct command?
> >
> > I think so.
> > Play around with it a bit, i.e., let cmake run without specifying
> > anything and see what KAUTH_BACKEND_PLUGIN_DIR will be.
>
> It simply looks like that variable is never added to the cache. Do I need
> to supply anything else to _set_fancy? Or do I have to explicitely add the
> variable to the cache after having set it with _set_fancy?

If you just have a set_fancy() and don't do anything else, it doesn't go in 
the cache, so it still follows CMAKE_INSTALL_PREFIX if this is changed.
If you put it in the cache (as described below), it should go in the cache and 
should not follow changes of CMAKE_INSTALL_PREFIX anymore.

Alex


More information about the Kde-buildsystem mailing list