[CMake] Problem building fortran project on Windows using Intel Fortran 10 compiler

Bill Hoffman bill.hoffman at kitware.com
Thu Oct 25 16:18:30 EDT 2007


Dunlavy, Daniel M wrote:
> Everything works if I add the following line to Windows-ifort.cmake:
> 
> LINK_DIRECTORIES(C:/Intel/Compiler/Fortran/10.0.025/IA32/Lib)
> 
> This is the path to the Intel Fortran Compiler libraries. Is this a bug
> that this directory is not being incorporated automatically once the
> ifort compiler is found? 
> 
This sounds like an installation problem.  CMake assumes that ifort 
works.  In your case it does not.  Perhaps if you set some environment 
variable like LIB to have this it would work?

-Bill


More information about the CMake mailing list