>>
> That worked. The compile lines were:
> /usr/bin/f95  -o CMakeFiles/hello.dir/hello.o   -c
> /home/jgonzalez/cmake-test/hello.f90
> /usr/bin/f95   -fPIC   "CMakeFiles/hello.dir/hello.o"   -o hello -rdynamic
>
> Now, I don't compile any fortran code as part of my project but link to
> a library that was compiled using gfortran. Apparently, to link I then
> need to add the gfortran library which is the one I'm having trouble with.
>

Could it be that the library that you are using was built with an
ever so slightly broken installation of gfortran?

If you can rebuild it with a more appropriate installation and use
that instead, the reference to libgfortran.so.1 may have gone.

Regards,

Arjen
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to