Alan W. Irwin wrote:
On 2008-03-28 00:51+0100 Alexander Neundorf wrote:

If you use install() with an absolute path DESTDIR is still honored on "make
install".
But I just tried and while it works with "make install", it doesn't when
creating the packages, not only for deb, but lso for the other formats.

This may be worth a feature request (or a patch :-).

This actually sounds more like a cpack bug with absolute paths.

Yes, that was reported by me as bug
http://public.kitware.com/Bug/view.php?id=4993 in May last year.

There is actually a simple patch to get absolute paths to work for CPack
(see above bug report), but no action has been taken on that yet.


Actually, it is fixed in 2.6 beta, I just never closed the bug. If you set CPACK_SET_DESTDIR to ON in your CPack config file, then DESTDIR will be used.

-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to