summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-16 15:55:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-16 15:56:03 (GMT)
commitb2edb726429d3cfd29d445e975e504ae0d346a82 (patch)
treee01f094a0a4af10177132b6cd3fd8c6bc1bb291d /Modules
parent2a850232fcaac1523d3433b5a8850c6b1770b380 (diff)
parentf7f60ddcf90a1a4c41b1a0f931726ee0527949e3 (diff)
downloadCMake-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.cmake2
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")