How does one cpack a deb into a toolchain's location?

With cmake_install_prefix I can get it to compile and install into the
correct place easily for both native builds (/usr/local) and cross-builds
(/usr/arm-unknown-linux-gnueabi/usr/local).

However, cpack ignores these settings and also seems to ignore any of the
cpack settings...putting everything into /usr.

The variables that dont seem to do anything:

CPACK_PACKAGE_INSTALL_DIRECTORY
CPACK_INSTALL_PREFIX
CPACK_SET_DESTDIR

Is there a 'correct' approach to enabling this?

Regards
Daniel Stonier

-- 
Phone : +82-10-5400-3296 (010-5400-3296)
HomePage: http://snorriheim.dnsdojo.com/
Yujin Robot: http://www.yujinrobot.com/
Projects: http://snorriheim.dnsdojo.com/redmine/projects
Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
_______________________________________________
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