On 11/22/2010 07:56 AM, [email protected] wrote:
> Hello,
> 
> I have a fortran project and I use the fortran intel compiler under windows 
> XP 64 bits with cmake 2.8.2.
> I added include(CMakeDetermineFortranCompiler) in my project and the intel 
> fortran compiler is correctly detected.
> But the intel linker is not correctly detected. Only the microsoft linker is 
> detected. But to be able tu use the IPO option, using the xilink compiler is 
> a necessity.
> How can I force my project to use xilink instead of microsoft linker ?
> 
> YC


Don't include CMakeDetermineFortranCompiler.cmake directly. That is an
internal file. Ether use ENABLE_LANGUAGE(Fortran) instead, or list
Fortran as one of the languages in your PROJECT call.

Michael

_______________________________________________
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