diff options
author | Brad King <brad.king@kitware.com> | 2020-01-16 15:55:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-16 15:56:03 (GMT) |
commit | b2edb726429d3cfd29d445e975e504ae0d346a82 (patch) | |
tree | e01f094a0a4af10177132b6cd3fd8c6bc1bb291d /Modules | |
parent | 2a850232fcaac1523d3433b5a8850c6b1770b380 (diff) | |
parent | f7f60ddcf90a1a4c41b1a0f931726ee0527949e3 (diff) | |
download | CMake-b2edb726429d3cfd29d445e975e504ae0d346a82.zip CMake-b2edb726429d3cfd29d445e975e504ae0d346a82.tar.gz CMake-b2edb726429d3cfd29d445e975e504ae0d346a82.tar.bz2 |
Merge topic 'nag-submodule'
f7f60ddcf9 Fortran: Add support for NAG Fortran submodules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4229
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/NAG-Fortran.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/NAG-Fortran.cmake b/Modules/Compiler/NAG-Fortran.cmake index c54ab9d..2111c65 100644 --- a/Modules/Compiler/NAG-Fortran.cmake +++ b/Modules/Compiler/NAG-Fortran.cmake @@ -28,6 +28,8 @@ if(NOT CMAKE_Fortran_COMPILER_WORKS AND NOT CMAKE_Fortran_COMPILER_FORCED) endif() endif() +set(CMAKE_Fortran_SUBMODULE_SEP ".") +set(CMAKE_Fortran_SUBMODULE_EXT ".sub") set(CMAKE_Fortran_MODDIR_FLAG "-mdir ") set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-PIC") set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed") |