[CMake] cmake with intel compilers

Leif Walsh leif.walsh at gmail.com
Sun Sep 23 12:38:47 EDT 2012


Have you sourced the intel compilervars script in the shell where you invoke cmake? Check $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH. You may also have better luck setting the CC and CXX env vars rather than setting cmake variables. I remember using the intel compiler with cmake was a hassle. 

Sent from my iPhone

On Sep 23, 2012, at 12:08, Burlen Loring <burlen.loring at gmail.com> wrote:

> Hi,
> 
> When I'm using intel compilers cmake is missing some of the internal compiler include paths. When I use intel compilers with cmake I'm setting  CMAKE_CXX_COMPILER and CMAKE_C_COMPILER. One path that's missed is $INTEL_ROOT/include/intel64 which among others contains xmm intriniscs header.  Am I doing something wrong or is this in fact a bug?
> 
> Thanks
> Burlen
> --
> 
> 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


More information about the CMake mailing list