[CMake] cpack, debian and python virtualenvs:

Eric Noulard eric.noulard at gmail.com
Thu Feb 10 18:26:13 EST 2011


2011/2/10 Nathan J. Mehl <memory at blank.org>:
>
>
> On Thu, Feb 10, 2011 at 1:56 PM, David Cole <david.cole at kitware.com> wrote:
>>
>> Probably comes from here:
>> cmCPackDebGenerator.cxx:
>> this->SetOptionIfNotSet("CPACK_PACKAGING_INSTALL_PREFIX", "/usr");
>
> *DING*
>
> Sigh, would have been nice if that had been anywhere in the documentation,
> or called out in any of the module/template files.  But any landing you walk
> away from...

All CPack generators use that variable, the documentation is lagging
and we know it...
http://public.kitware.com/Bug/view.php?id=10067

The Wiki is open for your contrib too:
http://www.cmake.org/Wiki/CMake:CPackConfiguration

you may set it on the cpack command line too:
cpack -D CPACK_PACKAGING_INSTALL_PREFIX=/usr -G DEB

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list