Package: getdp / 2.11.3+dfsg1-2

link_fortran.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
Index: getdp/CMakeLists.txt
===================================================================
--- getdp.orig/CMakeLists.txt
+++ getdp/CMakeLists.txt
@@ -573,6 +573,7 @@ if(ENABLE_FORTRAN)
       list(APPEND LAPACK_LIBRARIES -lg2c)
     endif(CMAKE_Fortran_COMPILER MATCHES "gfortran")
   endif(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
+  list(APPEND EXTERNAL_LIBRARIES gfortran)
 else(ENABLE_FORTRAN)
   set_config_option(HAVE_NO_FORTRAN "NoFortran")
 endif(ENABLE_FORTRAN)