[CMake] still having a problem with PackageMaker, and now DEB

Eric Noulard eric.noulard at gmail.com
Fri Aug 6 20:55:50 EDT 2010


2010/8/6 Chris Wolf <cw10025 at gmail.com>:
> Earlier, I identified a problem with the "PackageMaker" (Apple) packager,
> and now, I see the same exact problem with the "DEB" (Debian)
> packager - it keeps prefixing "./usr" to all the paths.
>
> Changing CPACK_PACKAGING_INSTALL_PREFIX doesn't do anything
> (even when it's at the top of the file)
>
> This problem does not occur with packagers of type "DragNDrop",
> "TGZ" and "TBZ2" - these are Ok.
>
> Any help would be great, thanks...

Did you try the command line?

cpack -D CPACK_PACKAGING_INSTALL_PREFIX="/opt" -G DEB

it works for me.

if it works for you may be
CPACK_PACKAGING_INSTALL_PREFIX is set to late
in the CMakeLists.txt?

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


More information about the CMake mailing list