We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5c5d4d commit 85b55f9Copy full SHA for 85b55f9
CMakeLists.txt
@@ -415,12 +415,10 @@ if (BLAS++ OR LAPACK++)
415
# Determine Fortran runtime library.
416
# todo: CMake ought to know this already -- how to access?
417
set( Fortran_LIB "" )
418
- if (NOT BUILD_SHARED_LIBS)
419
- if (CMAKE_Fortran_COMPILER_ID MATCHES GNU)
420
- set( Fortran_LIB ";-lgfortran" )
421
- else()
422
- # TODO: This is incomplete. Fill in the other cases.
423
- endif()
+ if (CMAKE_Fortran_COMPILER_ID MATCHES GNU)
+ set( Fortran_LIB ";-lgfortran" )
+ else()
+ # TODO: This is incomplete. Fill in the other cases.
424
endif()
425
message( DEBUG "Fortran_LIB '${Fortran_LIB}'" )
426
0 commit comments