From c2ac2543c491cf08c921d6d5bca7c307e0f7a2b9 Mon Sep 17 00:00:00 2001 From: manschub <77398197+manschub@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:37:47 +0100 Subject: [PATCH] Update CMakeLists.txt -check unit results in a false positive for the current ifx compiler. The flag shall therefore be removed here. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f70115f..29e2be1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ if ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "GNU") set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS} -O3") elseif("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel") set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpp") - set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS} -g -O -fno-omit-frame-pointer -traceback -check bounds -check output-conversion -check format -check pointers -check uninit -ftrapuv -assume realloc_lhs -fstack-protector -assume protect_parens") + set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS} -g -O -fno-omit-frame-pointer -traceback -check bounds -check output-conversion -check format -check pointers -ftrapuv -assume realloc_lhs -fstack-protector -assume protect_parens") set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS} -O3") elseif ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Flang") set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -Mpreprocess")