2010/8/6 Chris Wolf <[email protected]>:
> 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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to