Commit e0588511 authored by Christophe Geuzaine's avatar Christophe Geuzaine

trying to get rid of extra -lgofrtran if it's already in the external libs

parent 6d769de5
......@@ -591,7 +591,9 @@ if(ENABLE_FORTRAN)
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
if(CMAKE_Fortran_COMPILER MATCHES "gfortran")
list(APPEND LAPACK_LIBRARIES -lgfortran)
if(NOT EXTERNAL_LIBRARIES MATCHES "gfortran")
list(APPEND LAPACK_LIBRARIES -lgfortran)
endif(NOT EXTERNAL_LIBRARIES MATCHES "gfortran")
elseif(CMAKE_Fortran_COMPILER MATCHES "f95")
list(APPEND LAPACK_LIBRARIES -lgfortran)
elseif(CMAKE_Fortran_COMPILER MATCHES "g77")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment