Problem with FindVc
Sven Langkamp
[please enable javascript to see the address]
Thu Sep 27 01:39:29 CEST 2012
[please enable javascript to see the address]>wrote:
> On Wednesday 26 September 2012, Matthias Kretz wrote:
> > On Wednesday 26 September 2012 13:12:08 Sven Langkamp wrote:
> > > > Which find_package() is failing ?
> > >
> > > I did test with find_package(Vc REQUIRED) and
> > > macro_optional_find_package(Vc). It failed with both.
> >
> > FindVc.cmake does the following:
> > "
> > find_package(Vc ${Vc_FIND_VERSION} QUIET NO_MODULE PATHS $ENV{HOME}
> > /opt/Vc)
> >
> > include(FindPackageHandleStandardArgs)
> > find_package_handle_standard_args(Vc CONFIG_MODE)
> > "
> >
> > The last line is the problem.
>
> Yes, this means that the Find-module requires cmake 2.8.3 I think.
>
> Now, when you do a
> find_package(KDE4)
> before, CMAKE_MODULE_PATH is adjusted so that the files installed by
> kdelibs
> are used first.
> They contain a FPHSA.cmake, which is not in sync with the most recent cmake
> release.
>
> So what can be done
> We can increase the required cmake version by kdelibs, but this won't help
> you
> until you require that newer vbersion of kdelibs.
>
We still have to support older KDE versions. At least until we port to
Frameworks 5.
> You can work around it e.g. by tweaking CMAKE_MODULE_PATH, unset it before
> doing
> find_package(Vc)
> and restore it afterwards (of course while keeping the directory where
> FindVc.cmake is actually located).
>
> Does that help ?
>
Yes, that did the trick. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://compeng.uni-frankfurt.de/pipermail/vc/attachments/20120927/93de97ce/attachment.html>
More information about the Vc
mailing list