From c1b28f10914a8da69b9a65d4245ffedc4e17691e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 9 Apr 2022 08:59:24 +0200 Subject: [PATCH] Update CMakeLists.txt --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 172cbf60f..bf5495742 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -5,7 +5,7 @@ enable_language(Fortran) if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU) set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-tree-vectorize") endif() -if (CMAKE_Fortran_COMPILER_ID STREQUAL FLANG) +if (CMAKE_Fortran_COMPILER_ID STREQUAL flang) set(CMAKE_Fortran_FLAGS "$CMAKE_Fortran_FLAGS -fno-vectorize -fno-slp-vectorize") endif()