Found this: http://www.cmake.org/pipermail/cmake/2008-July/022958.html
CPack can't handle absolute install paths (like /usr/local/include) unless CPACK_SET_DESTDIR is set, then it installs in the specified location and picks the files from there. Normal behaviour is to install in a temporary location by modifying the CMAKE_INSTALL_PREFIX and fetching them from there. What's CPack's thought model for installing a package of headers and libraries from a TGZ on Unixen? That the files should go in a separate a package directory? Because that might match Windows/Macosx install models, but not Unix where they normally go in a standardized location that is already in the appropriate search paths.... Anyway to achieve this? /Thomas 26 nov 2012 kl. 16:08 skrev David Cole <[email protected]>: > Run: > > VERBOSE=1 make package > > Then, run the same command line that it runs for CPack, but add the > "--debug" and "--verbose" flags to see if that tells you what's going > wrong... > > > HTH, > David > > > On Mon, Nov 26, 2012 at 10:01 AM, Thomas Nilsson > <[email protected]> wrote: >> I have a project with multiple subdirectories and installs. I'm trying to >> get it to package the targets using CPack, but nothing gets included in the >> .tgz when I "make package". There is an install_manifest.txt generated which >> lists the correct files, but the .tgz is empty. So it seems that CPack finds >> the correct targets. >> >> Where should I start looking? >> >> /Thomas >> -- >> >> 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
-- 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
