[CMake] Why CPack does not _ALWAYS_ use DESTDIR?
Eric Noulard
eric.noulard at gmail.com
Tue May 13 10:42:35 EDT 2008
2008/5/13, Bill Hoffman <bill.hoffman at kitware.com>:
> >
> There is one more issue. CPack is supposed to work with any build system
> not just CMake. It might just be a set of hand crafted makefiles, and it
> may or may not support DESTDIR. I suppose this could be taken care of by
> only making DESTDIR the default if it is a CMake based project. However,
> people can inject code into the install rules for a cmake project that may
> not honor DESTDIR. You can write any cmake script you want into the install
> files. I am almost certain someone's code will break if we change this.
> However, I can not point to it, and I am guessing the projects depending on
> it won't even know that they are depending on it, until we break it for
> them.
> Adding an extra set is not such a big deal.
Ok then I won't argue on this.
I'll update CPack RPM Wiki page in order to tell
that ones must use DESTDIR ON if absolute path
file install are used.
Sorry for the noise. :=)
--
Erk
More information about the CMake
mailing list