[cmake-developers] [CMake 0012606]: Archive and STGZ packages don't respect CPACK_PACKAGE_INSTALL_DIRECTORY (patch included)

Mantis Bug Tracker mantis at public.kitware.com
Sun Dec 4 20:29:41 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12606 
====================================================================== 
Reported By:                Branan Purvine-Riley
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12606
Category:                   CPack
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-12-04 20:29 EST
Last Modified:              2011-12-04 20:29 EST
====================================================================== 
Summary:                    Archive and STGZ packages don't respect
CPACK_PACKAGE_INSTALL_DIRECTORY (patch included)
Description: 
In the current cpack, Archive and STGZ packages will unpack to a directory named
after CPACK_PACKAGE_NAME instead of CPACK_PACKAGE_INSTALL_DIRECTORY.

Additional Information: 
There are two parts to the attached patch:

1) Use CPACK_PACKAGE_INSTALL_DIRECTORY in the packaging temp directory, instead
of CPACK_PACKAGE_NAME. This fixes archive packages.

2) Change CPACK_PACKAGE_NAME to CPACK_PACKAGE_INSTALL_DIRECTORY in a few places
in the stgz header.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-12-04 20:29 Branan Purvine-RileyNew Issue                                  
 
2011-12-04 20:29 Branan Purvine-RileyFile Added: cmake_instdir.patch            
       
======================================================================




More information about the cmake-developers mailing list