From 4437677e1e08eefa2ac4591b624e4dba31c85ead Mon Sep 17 00:00:00 2001 From: David A Minton Date: Thu, 23 Feb 2023 14:09:59 -0500 Subject: [PATCH] Updated testing environment to include debug flags --- cmake/Modules/SetFortranFlags.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Modules/SetFortranFlags.cmake b/cmake/Modules/SetFortranFlags.cmake index 836747fd3..891a878f4 100644 --- a/cmake/Modules/SetFortranFlags.cmake +++ b/cmake/Modules/SetFortranFlags.cmake @@ -218,9 +218,9 @@ SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG}" ##################### # Optimizations -SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_TESTING "${CMAKE_Fortran_FLAGS_TESTING}" - Fortran REQUIRED "-O2" # All compilers not on Windows - "/O2" # Intel Windows +SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_TESTING "${CMAKE_Fortran_FLAGS_DEBUG}" + Fortran REQUIRED "-O3" # All compilers not on Windows + "/O3" # Intel Windows ) #####################