[CMake] Mixing C++ and Fortran

Honest Guvnor honestguvnor at googlemail.com
Tue Jan 29 12:15:55 EST 2008


On Jan 29, 2008 4:06 PM, Maik Beckmann <maikbeckmann at gmx.de> wrote:
> Am Dienstag 29 Januar 2008 15:15:48 schrieb Honest Guvnor:
> > I have tried adding a dummy fortran file to the list of C++ files to
> > force it know about Fortran and get prompted to declare the
> > linker_language property.
>
> Did you altered your project(..) statement to
>   project(foo CXX Fortran)
> or added an enable_language statement
>   project(foo)
>   enable_language(Fortran)
> in conjunction with the dummy fortran source file?

Thanks for the suggestion but Fortran was in the project declaration.


More information about the CMake mailing list