[cmake-developers] [CMake 0012464]: FeatureSummary warns if one tries to replace description with the same string

Mantis Bug Tracker mantis at public.kitware.com
Sat Sep 17 16:09:51 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12464 
====================================================================== 
Reported By:                Yury G. Kudryashov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12464
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-09-17 16:09 EDT
Last Modified:              2011-09-17 16:09 EDT
====================================================================== 
Summary:                    FeatureSummary warns if one tries to replace
description with the same string
Description: 
It makes no sense to warn user if he wants to replace package description with
the same string (e.g., as a result of calling find_package() twice).

Steps to Reproduce: 
1. Add a line like

set_package_properties(MyPackage PROPERTIES URL http://myurl DESCRIPTION "desc")

to FindMyPackage.cmake.

2. Call find_package(MyPackage) twice in CMakeLists.txt

Additional Information: 
The attached patch fixes the problem.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-17 16:09 Yury G. KudryashovNew Issue                                    
2011-09-17 16:09 Yury G. KudryashovFile Added: feature-summary-no-warn.diff     
              
======================================================================




More information about the cmake-developers mailing list