mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
ENH: do not error when sunpro or mipspro fortran used
This commit is contained in:
@@ -16,7 +16,7 @@ if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
|
||||
set(FORTRAN_FUNCTIONS test_mod:sub)
|
||||
else(FORTRAN_C_MODULE_MANGLING_FOUND)
|
||||
if(CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro")
|
||||
message("SunPro and MPISpro compilers do not support"
|
||||
message("${CMAKE_Fortran_COMPILER_ID} compilers do not support"
|
||||
" linking Fortran module procedures from C")
|
||||
else()
|
||||
message("This will fail, but let the user see the error")
|
||||
|
||||
Reference in New Issue
Block a user