diff options
author | Brad King <brad.king@kitware.com> | 2009-08-06 11:53:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-08-06 11:53:41 (GMT) |
commit | f33bcd6c504ba241a85f18b3f9826754d1ec42ac (patch) | |
tree | 04598f828feff76d889db970d13291f2bc8af08f /Modules/FortranCInterface | |
parent | 8dd02cb78db9337cfdc5491f3e03a8891b398478 (diff) | |
download | CMake-f33bcd6c504ba241a85f18b3f9826754d1ec42ac.zip CMake-f33bcd6c504ba241a85f18b3f9826754d1ec42ac.tar.gz CMake-f33bcd6c504ba241a85f18b3f9826754d1ec42ac.tar.bz2 |
Teach FortranCInterface about g77 mangling
The old GNU g77 Fortran compiler uses the suffix '__' for symbols
containing an underscore in their name.
Diffstat (limited to 'Modules/FortranCInterface')
-rw-r--r-- | Modules/FortranCInterface/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FortranCInterface/CMakeLists.txt b/Modules/FortranCInterface/CMakeLists.txt index a1a6b46..a0323de 100644 --- a/Modules/FortranCInterface/CMakeLists.txt +++ b/Modules/FortranCInterface/CMakeLists.txt @@ -13,6 +13,7 @@ int main() { return 0; } set(global_symbols my_sub # VisualAge my_sub_ # GNU, Intel, HP, SunPro, MIPSpro + my_sub__ # GNU g77 mysub # VisualAge mysub_ # GNU, Intel, HP, SunPro, MIPSpro ${FortranCInterface_GLOBAL_SYMBOLS} |