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:
Brad King 2010-01-25 08:27:34 -05:00
parent 9348f626f9
commit 4d1351e8d3
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function(test_fortran_c_interface_module)
FortranCInterface_VERIFY()
FortranCInterface_VERIFY(CXX)
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)
endif()
if(FortranCInterface_MODULE_FOUND OR module_expected)