Browse Source

Update CMakeLists.txt

pull/4784/head
Martin Kroeker GitHub 1 year ago
parent
commit
ecfb74b032
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/CMakeLists.txt

+ 1
- 1
test/CMakeLists.txt View File

@@ -4,7 +4,7 @@ include_directories(${PROJECT_BINARY_DIR})
enable_language(Fortran)
if (CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-tree-vectorize -O0")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0")
endif()
if (CMAKE_Fortran_COMPILER_ID STREQUAL Flang)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2")


Loading…
Cancel
Save