howto install rules ?

Alexander Neundorf neundorf at kde.org
Fri Jan 13 17:42:26 CET 2006


On Friday 13 January 2006 01:55, Brad King wrote:
> David Faure wrote:
> > On Friday 13 January 2006 00:05, Tanner Lovelace wrote:
> >>With CMake, I don't believe
> >>the INSTALL_FILES command has the concept of a directory
> >>outside of the specified installation prefix.
>
> I've been planning to add this support to CMake along with a few other
> install support features.

That's nice :-)
An workaround (at least for unix) would be:
SET(CMAKE_INSTALL_PREFIX "/")
INSTALL_FILES(${KDE4_DATA_DIR} FILES kpager.desktop)

with KDE4_DATA_DIR composed somehow.

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list