Hi Eike and Eric,

That was an incredible wild guess, you were spot on. Changing the title to
PROJECT(<project> C CXX Fortran)
instead of having Fortran first in the list solved it. Now both toolchain files 
work.

Why is that though? Something buggy with the Fortran part in cmake?

Thanks!

Best Regards,
Yngve

On Thursday 5. July 2012 17.43.49, Rolf Eike Beer wrote:
> Eric Noulard wrote:
> > if it is the case could try enabling C language first?
> > i.e.
> > project(Whatever C)
> > ...
> > enable_language(Fortran)
> > enable_language(CXX)
> 
> Why not just "project(Whatever C CXX Fortran)" then?
> 
> Eike
> --
--

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