From 574530c07db1a2d62e0b9ed4dca38b60dcd0e09e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 29 Oct 2008 19:34:12 -0400 Subject: [PATCH] ENH: fix check for intel windows module mangling --- Modules/FortranCInterface.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FortranCInterface.cmake b/Modules/FortranCInterface.cmake index 3f86c50d5..e87bc09b1 100644 --- a/Modules/FortranCInterface.cmake +++ b/Modules/FortranCInterface.cmake @@ -93,6 +93,7 @@ function(discover_fortran_module_mangling prefix suffix found) test_fortran_mangling("${CODE}" "${interface}" ${FORTRAN_C_MANGLING_UPPERCASE} "" "module" "sub" worked) if(worked) + string(TOLOWER "${interface}" interface) string(REGEX REPLACE "(.*)test_interface(.*)" "\\1" pre "${interface}") string(REGEX REPLACE "(.*)test_interface(.*)" "\\2" post "${interface}") set(${prefix} "${pre}" PARENT_SCOPE)