Skip Fortran module mangling test on PathScale
We disable this test because PathScale Fortran mangles module symbols as "MYSUB.in.MYMODULE" so we cannot interface with it from C. We already did this for SunPro and MIPSpro.
This commit is contained in:
parent
9348f626f9
commit
4d1351e8d3
|
@ -34,7 +34,7 @@ function(test_fortran_c_interface_module)
|
||||||
FortranCInterface_VERIFY()
|
FortranCInterface_VERIFY()
|
||||||
FortranCInterface_VERIFY(CXX)
|
FortranCInterface_VERIFY(CXX)
|
||||||
if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
|
if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
|
||||||
if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro")
|
if(NOT CMAKE_Fortran_COMPILER_ID MATCHES "SunPro|MIPSpro|PathScale")
|
||||||
set(module_expected 1)
|
set(module_expected 1)
|
||||||
endif()
|
endif()
|
||||||
if(FortranCInterface_MODULE_FOUND OR module_expected)
|
if(FortranCInterface_MODULE_FOUND OR module_expected)
|
||||||
|
|
Loading…
Reference in New Issue