blob: bf2a1c2d680cb2873ab9a1ff850707e6e686f4a0 (
plain)
1
2
3
4
5
6
7
|
include(Platform/Linux-LCC)
__linux_compiler_lcc(Fortran)
if (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS "1.26.03")
set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-llfortran")
else()
set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-lgfortran")
endif()
|