View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012464CMakeModulespublic2011-09-17 16:092011-09-22 16:59
ReporterYury G. Kudryashov 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012464: FeatureSummary warns if one tries to replace description with the same string
DescriptionIt 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 Reproduce1. 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 InformationThe attached patch fixes the problem.
TagsNo tags attached.
Attached Filesdiff file icon feature-summary-no-warn.diff [^] (1,281 bytes) 2011-09-17 16:09 [Show Content]

 Relationships

  Notes
(0027444)
Alex Neundorf (developer)
2011-09-18 07:05

Hi Yury,

thanks for working on FeatureSummary.cmake :-)
I applied the patch and merged it into next.

Alex

 Issue History
Date Modified Username Field Change
2011-09-17 16:09 Yury G. Kudryashov New Issue
2011-09-17 16:09 Yury G. Kudryashov File Added: feature-summary-no-warn.diff
2011-09-18 06:37 Alex Neundorf Assigned To => Alex Neundorf
2011-09-18 06:37 Alex Neundorf Status new => assigned
2011-09-18 06:37 Alex Neundorf Category CMake => Modules
2011-09-18 07:05 Alex Neundorf Note Added: 0027444
2011-09-18 07:05 Alex Neundorf Status assigned => closed
2011-09-18 07:05 Alex Neundorf Resolution open => fixed
2011-09-22 16:59 David Cole Fixed in Version => CMake 2.8.6
2011-09-22 16:59 David Cole Target Version => CMake 2.8.6


Copyright © 2000 - 2018 MantisBT Team