build failure with recent cmake

Alexander Neundorf neundorf at
Tue Aug 24 22:19:23 CEST 2010

On Sunday 22 August 2010, Alexander Neundorf wrote:
> On Sunday 22 August 2010, Oswald Buddenhagen wrote:
> > moin,
> >
> > kdelibs fails to compile for me, suddenly not finding libz and libpng.
> > the following message may be indicative for the problem:
> >
> > -- REQUIRED_VARS  (missing:  VERSION_VAR)
> > -- Could NOT find PNG  (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
> >
> > that happens with the cmake release branch from git. running
> >   git checkout b6c8d8f8^ && make install
> > fixes the problem. i haven't tried to verify whether this merge is
> > actually to blame.
> Thanks for letting me know.
> This is because we have a copy of FindPackageHandleStandardArgs.cmake, and
> the version in cmake now supports extended syntax, but the find-modules
> which we use from cmake now get out FindPackageHandleStandardArgs.cmake,
> which cannot (yet) handle this additional arguments.
> I have a look at it.

Please try the attached patch.
It syncs FindPackageHandleStandardArgs.cmake with the version from current 
This fixes the problem here, but I don't have all the packages installed.
Please let me know if it works for you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FPHSA-sync-with-cmake.patch
Type: text/x-diff
Size: 24381 bytes
Desc: not available
Url : 

More information about the Kde-buildsystem mailing list