mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 04:10:05 -06:00
Define `CMAKE_Fortran_SUBMODULE_{SEP,EXT}` for the Cray Fortran
compiler. Use an empty separator to tell CMake that this compiler does
not use the enclosing module name as a prefix on submodule files.
Issue: #18925
14 lines
467 B
CMake
14 lines
467 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
include(Compiler/Cray)
|
|
__compiler_cray(Fortran)
|
|
|
|
set(CMAKE_Fortran_SUBMODULE_SEP "")
|
|
set(CMAKE_Fortran_SUBMODULE_EXT ".mod")
|
|
set(CMAKE_Fortran_MODOUT_FLAG -em)
|
|
set(CMAKE_Fortran_MODDIR_FLAG -J)
|
|
set(CMAKE_Fortran_MODDIR_DEFAULT .)
|
|
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-f fixed")
|
|
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-f free")
|