[cmake-developers] [PATCH] FindOpenMP: ICC 15 deprecates -openmp, use -qopenmp

Brad King brad.king at kitware.com
Fri Jun 27 09:36:12 EDT 2014


On 06/26/2014 09:29 AM, Adam Strzelecki wrote:
> Intel Composer XE 2015 Beta 2 deprecates all options starting with -o for sake
> of compatibility with other compilers expecting anything goes after -o... is
> output file name.

Applied, thanks:

 FindOpenMP: ICC 15 deprecates -openmp, use -qopenmp
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4671f3ab

> +  elseif(${CMAKE_${LANG}_COMPILER_ID} EQUAL "Intel" AND

I adjusted this line because "EQUAL" is for numerical comparisons.
I changed it to "STREQUAL".

-Brad




More information about the cmake-developers mailing list