From 9d78839a97235e4253b97bdb21acd4186a52a41e Mon Sep 17 00:00:00 2001 From: David Minton Date: Thu, 18 May 2023 15:18:05 -0400 Subject: [PATCH] Added a regex expression to catch compiler options that are not supported by ifx --- cmake/Modules/SetCompileFlag.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/Modules/SetCompileFlag.cmake b/cmake/Modules/SetCompileFlag.cmake index 4141c4773..d094009ed 100644 --- a/cmake/Modules/SetCompileFlag.cmake +++ b/cmake/Modules/SetCompileFlag.cmake @@ -45,6 +45,7 @@ FUNCTION(SET_COMPILE_FLAG FLAGVAR FLAGVAL LANG) SET(FAIL_REGEX "ignoring unknown option" # Intel "invalid argument" # Intel + "not supported" # Intel ifx "unrecognized .*option" # GNU "[Uu]nknown switch" # Portland Group "ignoring unknown option" # MSVC