From 0fd70156975abff657576daf7179b3a2235778b0 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 22 Mar 2024 08:32:22 +0100 Subject: [PATCH] Update system.cmake --- cmake/system.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/system.cmake b/cmake/system.cmake index 4f067bc99..fd39017d4 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -616,7 +616,8 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") endforeach () endif () -if ("${F_COMPILER}" STREQUAL "NAG" OR "${F_COMPILER}" STREQUAL "CRAY" OR "${F_COMPILER}" STREQUAL "FLANGNEW") +message(STATUS "FC is ${F_COMPILER}") +if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR ${F_COMPILER} STREQUAL "FLANGNEW") set(FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512") if ("${F_COMPILER}" STREQUAL "FLANGNEW") set(FILTER_FLAGS "${FILTER_FLAGS};-m32;-m64")