From b49c630e8eb4645d6c0eba06755391d89ea05c8f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 22 Mar 2024 11:26:05 +0100 Subject: [PATCH] Update system.cmake --- cmake/system.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/system.cmake b/cmake/system.cmake index 84445986b8..cf29db54fa 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -618,7 +618,7 @@ endif () if (${F_COMPILER} STREQUAL "NAG" OR ${F_COMPILER} STREQUAL "CRAY" OR CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang") set(FILTER_FLAGS "-msse3;-mssse3;-msse4.1;-mavx;-mavx2,-mskylake-avx512") - if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang") + if (CMAKE_Fortran_COMPILER_ID MATCHES "LLVMFlang") set(FILTER_FLAGS "${FILTER_FLAGS};-m32;-m64") endif () foreach (FILTER_FLAG ${FILTER_FLAGS})