From 4d3211b5caca00bba3ff17c6aa35291f3ffde5e0 Mon Sep 17 00:00:00 2001 From: David Minton Date: Mon, 31 Jul 2023 17:02:22 -0400 Subject: [PATCH] Rearranged because -u is a valid option for gfortran. --- cmake/Modules/SetFortranFlags.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/SetFortranFlags.cmake b/cmake/Modules/SetFortranFlags.cmake index b95be5575..f46d4b04c 100644 --- a/cmake/Modules/SetFortranFlags.cmake +++ b/cmake/Modules/SetFortranFlags.cmake @@ -300,9 +300,10 @@ SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_TESTING "${CMAKE_Fortran_FLAGS_DEBUG}" # Unroll loops SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE}" - Fortran "-unroll" # Intel + Fortran "-funroll-loops" # GNU + "-unroll" # Intel "/unroll" # Intel Windows - "-funroll-loops" # GNU + ) # Inline functions