[cmake-developers] [CMake 0013787]: Wrong default value of CPACK_PACKAGE_INSTALL_REGISTRY_KEY

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 12 06:54:06 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13787 
====================================================================== 
Reported By:                Jesus Malo Poyatos
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13787
Category:                   CPack
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-12 06:54 EST
Last Modified:              2012-12-12 06:54 EST
====================================================================== 
Summary:                    Wrong default value of
CPACK_PACKAGE_INSTALL_REGISTRY_KEY
Description: 
As far as I could found, the default value of CPACK_PACKAGE_INSTALL_REGISTRY_KEY
should be "${CPACK_PACKAGE_NAME} ${CPACK_PACKAGE_VERSION}" (see
http://www.cmake.org/pipermail/cmake/2010-September/039663.html), however if you
look at CPack.cmake, you will find the following (line 381):
    cpack_set_if_not_set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY
      "${CPACK_PACKAGE_INSTALL_DIRECTORY}")

Is it intentionally?
BTW, the documentation of CPACK_PACKAGE_INSTALL_REGISTRY_KEY is incomplete (no
default value explained) at
http://www.cmake.org/cmake/help/v2.8.10/cpack.html#variable:CPACK_PACKAGE_INSTALL_REGISTRY_KEY

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-12 06:54 Jesus Malo PoyatosNew Issue                                    
======================================================================




More information about the cmake-developers mailing list