<div class="gmail_quote">On Mon, Sep 24, 2012 at 1:54 PM, Matthias Kretz <span dir="ltr"><<a href="mailto:kretz@compeng.uni-frankfurt.de" target="_blank">kretz@compeng.uni-frankfurt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
sorry for taking so long to answer...<br>
<div><div class="h5"><br>
On Sunday 16 September 2012 16:50:12 Sven Langkamp wrote:<br>
> I'm trying to integrate the FindVc.cmake script to look for Vc on some<br>
> system. I copied the FindVc.cmake into the project cmake modules path, but<br>
> now I get the following error:<br>
><br>
> CMake Error at cmake/modules/FindVc.cmake:32<br>
> (find_package_handle_standard_args):<br>
>   FIND_PACKAGE_HANDLE_STANDARD_ARGS Function invoked with incorrect<br>
> arguments<br>
>   for function named: FIND_PACKAGE_HANDLE_STANDARD_ARGS<br>
><br>
> The error only happens from the project directory. Removing the that<br>
> FindVc.cmake and using the one installed by Vc works. Any idea what could<br>
> be wrong?<br>
<br>
</div></div>I don't really understand what's going on. You mean that if you copy <Vc<br>
prefix>/lib/cmake/Vc/FindVc.cmake into your sources you get the above error?<br></blockquote><div><br></div><div>Yes, I did copy that file.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

How would you use the one installed by Vc?<br></blockquote></div><br><div>I don't know. CMake did pick it up automatically, could be that the FindVc.cmake is in the CMAKE_MODULE_PATH or so.</div>