summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Cray-Fortran.cmake
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2018-01-24 15:09:08 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2018-01-24 15:09:08 (GMT)
commitb886b46ccb37a273e63f472a767b58aea50af724 (patch)
treefb474b6cb2b09b3331e35a8543eb1e6df2e0b69e /Modules/Compiler/Cray-Fortran.cmake
parentc1e087a9d3af74299d7681c9f9de59e5977a1539 (diff)
downloadCMake-b886b46ccb37a273e63f472a767b58aea50af724.zip
CMake-b886b46ccb37a273e63f472a767b58aea50af724.tar.gz
CMake-b886b46ccb37a273e63f472a767b58aea50af724.tar.bz2
Cray: Add common PIC flags
Fixes #17208
Diffstat (limited to 'Modules/Compiler/Cray-Fortran.cmake')
-rw-r--r--Modules/Compiler/Cray-Fortran.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/Modules/Compiler/Cray-Fortran.cmake b/Modules/Compiler/Cray-Fortran.cmake
index 5d81bb0..dbf28e3 100644
--- a/Modules/Compiler/Cray-Fortran.cmake
+++ b/Modules/Compiler/Cray-Fortran.cmake
@@ -1,4 +1,9 @@
-set(CMAKE_Fortran_VERBOSE_FLAG "-v")
+# 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_MODOUT_FLAG -em)
set(CMAKE_Fortran_MODDIR_FLAG -J)
set(CMAKE_Fortran_MODDIR_DEFAULT .)