diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-10-29 14:58:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-10-29 14:58:40 (GMT) |
commit | 84a4222314e8cb52781cb2b98dca4c69bb6cf739 (patch) | |
tree | 1b3dde4101bdfded6db3a6d500714416b51f6de2 /Modules | |
parent | 4eec7b2d03e0173deeb0f7ae29891eefb8ea9bb8 (diff) | |
download | CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.zip CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.tar.gz CMake-84a4222314e8cb52781cb2b98dca4c69bb6cf739.tar.bz2 |
ENH: add test for FortranCInterface
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FortranCInterface.cmake | 6 |
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 ) |