diff options
Diffstat (limited to 'Modules/FortranCInterface.cmake')
-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 980c7cb469..8c8c3ac69d 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 ) |