From 365d729217a206d62123d6f8efbfe86ca2f08c5b Mon Sep 17 00:00:00 2001 From: Timothy Brown Date: Fri, 15 Dec 2017 11:02:15 -0600 Subject: [PATCH] Adding Cray Fortran specific flags. The Cray Fortran compiler by default write module files in all uppercase. The "-ef" flag tells it to write them as lowercase. This means the install phase can file the module files to install. --- src/flib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flib/CMakeLists.txt b/src/flib/CMakeLists.txt index 3d2c1711252..8d510961d4f 100644 --- a/src/flib/CMakeLists.txt +++ b/src/flib/CMakeLists.txt @@ -55,6 +55,8 @@ elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "NAG") set ( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mismatch_all" ) # target_compile_options (piof # PRIVATE -mismatch_all) +elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Cray") + set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ef") endif() # Look for c_sizeof capability