Required packages are wrongly reported by feature_summary

Alexander Neundorf neundorf at kde.org
Sat Feb 11 17:21:28 UTC 2012


On Saturday 11 February 2012, Alexander Neundorf wrote:
> On Saturday 11 February 2012, Christophe Giboudeaux wrote:
> > Hi,
> > 
> > While working on kdepimlibs, I found a feature_summary behaviour that
> > looks quite confusing (using 2.8.7).
> > 
> > Short testcase:
> > 
> > project(test)
> > cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
> > include(FeatureSummary)
> > find_package(KDE4 REQUIRED)
> > feature_summary(WHAT ALL)
> > 
> > which reports:
> > 
> > -- The following OPTIONAL packages have been found:
> > 
> > [cut]
> > 
> >  * KDE4
> > 
> > Is this the expected behaviour ? ie are we forced to use
> > set_package_properties to get the correct message ?
> 
> No, of course not.
> I'll have a look, this looks like a bug.

Yes, it was a bug, fix committed to cmake next and will be in 2.8.8.

Alex


More information about the Kde-buildsystem mailing list