diff options
author | Brad King <brad.king@kitware.com> | 2019-02-14 15:24:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-14 15:24:43 (GMT) |
commit | 2f51f281a8c9684c25cf97499a4382e1b5ae68b9 (patch) | |
tree | 0634f5bfa718e2139d8a31162b36723b5db4d7b3 /Modules/Compiler/GNU-Fortran.cmake | |
parent | 9f351b93ab7684940ad2da14fd6800f11f09355f (diff) | |
parent | d80ecba5c27ec249dc85c3a3559db822ef320d05 (diff) | |
download | CMake-2f51f281a8c9684c25cf97499a4382e1b5ae68b9.zip CMake-2f51f281a8c9684c25cf97499a4382e1b5ae68b9.tar.gz CMake-2f51f281a8c9684c25cf97499a4382e1b5ae68b9.tar.bz2 |
Merge branch 'fortran-submodule-names' into release-3.14
Merge-request: !2958
Diffstat (limited to 'Modules/Compiler/GNU-Fortran.cmake')
-rw-r--r-- | Modules/Compiler/GNU-Fortran.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-Fortran.cmake b/Modules/Compiler/GNU-Fortran.cmake index c333d50..6413769 100644 --- a/Modules/Compiler/GNU-Fortran.cmake +++ b/Modules/Compiler/GNU-Fortran.cmake @@ -1,6 +1,9 @@ include(Compiler/GNU) __compiler_gnu(Fortran) +set(CMAKE_Fortran_SUBMODULE_SEP "@") +set(CMAKE_Fortran_SUBMODULE_EXT ".smod") + set(CMAKE_Fortran_PREPROCESS_SOURCE "<CMAKE_Fortran_COMPILER> -cpp <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> -o <PREPROCESSED_SOURCE>") |