Review Request 108701: Find libgfortran if it's installed in custom prefixes

Albert Astals Cid aacid at
Mon Feb 4 19:16:23 UTC 2013

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 4, 2013, 7:16 p.m.)

Review request for Build System, KDE Edu and Albert Astals Cid.


FindR.cmake tries to find libgfortran when the R_lapack library is found. With the current file, the detection fails on openSUSE.
libgfortran is not installed in a common directory but in /usr/lib64/gcc/<arch>/<compiler version>/

With this patch, FindR tries to find the gfortran executable and runs 'gfortran' to get the library path.

if the gfortran executable cannot be found, find_library(...) is used.


  cmake/FindR.cmake 11f4aff 



Tested successfully with the 4.10 tarball.


Christophe Giboudeaux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list