FIAS . Impressum . Privacy

Problem with FindVc

Matthias Kretz [please enable javascript to see the address]
Tue Sep 25 15:45:53 CEST 2012


On Tuesday 25 September 2012 15:37:29 Matthias Kretz wrote:
> On Monday 24 September 2012 20:09:40 Sven Langkamp wrote:
> > On Mon, Sep 24, 2012 at 1:54 PM, Matthias Kretz
> > 
> > > I don't really understand what's going on. You mean that if you copy <Vc
> > > prefix>/lib/cmake/Vc/FindVc.cmake into your sources you get the above
> > > error?
> > 
> > Yes, I did copy that file.
> > 
> > > How would you use the one installed by Vc?
> > 
> > I don't know. CMake did pick it up automatically, could be that the
> > FindVc.cmake is in the CMAKE_MODULE_PATH or so.
> 
> OK, maybe what's happening is that cmake's find_package doesn't actually use
> the installed FindVc.cmake but the installed VcConfig.cmake (which is what
> line 29 in FindVc.cmake does, too). Thus it's the same except that it
> doesn't execute the find_package_handle_standard_args function.
> Our problem thus boils down to: Why does this function, which is part of
> CMake, work for me (on several machines) and not for you? I'll have to check
> whether the arguments changed in some cmake version...

The CONFIG_MODE switch used in find_package_handle_standard_args is part of 
cmake since this commit: 
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8ae504c0e13a641660ae78a05d5a5184f352800
That's cmake 2.8.3 if I'm not mistaken. Would that explain our error?

> Cheers,
> 	Matthias
-- 
Dipl.-Phys. Matthias Kretz
http://compeng.uni-frankfurt.de/?mkretz

SIMD easy and portable: http://compeng.uni-frankfurt.de/?vc



More information about the Vc mailing list
FIAS . Impressum . Privacy