summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-29 14:58:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-29 14:58:40 (GMT)
commit84a4222314e8cb52781cb2b98dca4c69bb6cf739 (patch)
tree1b3dde4101bdfded6db3a6d500714416b51f6de2 /Modules
parent4eec7b2d03e0173deeb0f7ae29891eefb8ea9bb8 (diff)
downloadCMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.zip
CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.tar.gz
CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.tar.bz2
ENH: add test for FortranCInterface
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FortranCInterface.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FortranCInterface.cmake b/Modules/FortranCInterface.cmake
index 980c7cb..8c8c3ac 100644
--- a/Modules/FortranCInterface.cmake
+++ b/Modules/FortranCInterface.cmake
@@ -110,9 +110,9 @@ function(discover_fortran_mangling prefix isupper suffix extra_under_score
subroutine sub
end subroutine sub
")
- foreach(pre "_" "" "__")
- foreach(isup TRUE FALSE)
- foreach(post "" "_")
+ foreach(post "_" "")
+ foreach(isup FALSE TRUE)
+ foreach(pre "" "_" "__")
set(worked FALSE)
test_fortran_mangling("${CODE}" "${pre}" ${isup}
"${post}" "function" sub worked )