Problem with FindVc
Matthias Kretz
[please enable javascript to see the address]
Tue Sep 25 15:37:29 CEST 2012
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...
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