Review Request 124962: Fix CMAKE_INSTALL_LIBDIR not respecting installation prefix

Maximiliano Curia maxy at gnuservers.com.ar
Fri Dec 11 12:03:53 UTC 2015


On 10/12/15 17:45, Martin Klapetek wrote:
> However if I'm not mistaken, that set_target_properties call does not
> do what you imply it does. Setting empty PREFIX means that it will
> not prepend "lib" to the filename, eg. "libpam_kwallet.so", but will instead
> name it "pam_kwallet.so".
Oh, you are right. Sorry for the misleading comment.
> If you want to have it installed in /lib, just set CMAKE_INSTALL_PREFIX
> to "/", then it should install into /lib correctly.
Sadly setting the CMAKE_INSTALL_PREFIX in the Debian package seems to have no effect, so I'm stuck with the previous patch till I find a more elegant solution.

Happy hacking,


More information about the Plasma-devel mailing list