relative install paths in cmake

David Faure faure at kde.org
Thu Jul 13 16:55:17 BST 2006


On Thursday 13 July 2006 16:15, Jason Harris wrote:
> The problem is, "make install" tries to install stuff under 
> "/lib/kde4/libexec", NOT $INSTALL_PREFIX/lib/kde4/libexec.  So they aren't 
> really relative paths, despite the description.  Since my user doesn't have 
> permission to write in /lib, "make install" fails.

Are you using INSTALL() or INSTALL_FILES() (or INSTALL_*) in the CMakeLists.txt?
The latter should be turned into the former.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list