Browse Source

Update CMakeLists.txt

pull/3600/head
Martin Kroeker GitHub 4 years ago
parent
commit
c1b28f1091
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/CMakeLists.txt

+ 1
- 1
test/CMakeLists.txt View File

@@ -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()



Loading…
Cancel
Save