Additionally, the FindOpenMP.cmake implementation could see some improvements:

- It prints excessive amount of messages to the standard output, 30x2
lines before it fails, which is quite annoying and the module doesn't
fully respect the QUIET parameter.

- The error message can be confusing for users as it is refers to not
being able to find OpenMP, while in fact the issue is that the
respective compiler does not support it.

I'll go ahead and file a bug report for the previously mentioned flag
bug. Should I file the above request for improvement separately?

Cheers,
--
Szilárd



On Sat, Jan 14, 2012 at 6:18 PM, Szilárd Páll <[email protected]> wrote:
> Hi,
>
> It looks like there is a typo in FindOpenMP.cmake, on Windows the
> appropriate Intel Compiler flag is "/Qopenmp" not "-Qopenmp" (see
> http://goo.gl/NPbiJ).
>
> Before filing the bug could somebody test/confirm this -- I can't
> exclude the possibility that the compiler silently accepts "-Qopenmp",
> but I don't have a system to test it myself.
>
> Cheers,
> --
> Szilárd
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to