[CMake] Auxiliary fortran link libraries?

John Cary cary at txcorp.com
Sun Jul 18 21:10:22 EDT 2010


>
> ------------------------------
>
> Message: 4
> Date: Thu, 15 Jul 2010 22:49:40 -0400
> From: Bill Hoffman<bill.hoffman at kitware.com>
> Subject: Re: [CMake] Auxiliary fortran link libraries?
> To: cmake at cmake.org
> Message-ID:<4C3FC8C4.4060502 at kitware.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 7/15/2010 5:40 PM, John Cary wrote:
>    
>> Is there some way in cmake to get the
>> auxiliary fortran link libraries? The
>> ones that one needs to link in if one is
>> building a C/C++ executable that uses a library
>> that was created with fortran?
>>
>> Like libgfortran for gcc?
>>
>> Thanks...John Cary
>>
>>      
> See Modules/FortranCInterface.cmake
>
>    

Thanks for your help with this.  I did
INCLUDE(FortranCInterface), but I did not
see in CMakeCache.txt any variables that
might contain the fortran libs needed by
the C/C++ linkers (e.g., libgfortran).
Did I miss something?

Thx.........John Cary



More information about the CMake mailing list