[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] set ranlib/ar in toolchain file
From:       Yngve Inntjore Levinsen <yngve.levinsen () gmail ! com>
Date:       2012-07-05 16:39:09
Message-ID: 1734026.xMxembsVjJ () yngve-chakra
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic