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... -Chris > Another observation regarding the CPack-generated *.pkg > >> (wrapped in a *.dmg) : > >> > >> The path is prefixed by "./usr", somehow: > >> > >> (assuming the *.dmg is already mounted) > >> $ cd ./libusb-0.1.1-Darwin.pkg/Contents > >> $ lsbom -s Archive.bom > >> . > >> ./usr > >> ./usr/lib > >> ./usr/lib/libusb.dylib > >> > >> So where does the "./usr/" prefix come from? > > I'm do not know the dmg CPack Generator > (is it PackageMaker or DragNDrop?) > and I'm not a mac user but each CPack generator has a default > "builtin" CPACK_PACKAGING_INSTALL_PREFIX. > > Try > set(CPACK_PACKAGING_INSTALL_PREFIX. "/whatever") > _______________________________________________ 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
