Merge pull request #3602 from martin-frbg/fixup3600

Fix missing braces from previous commit (PR3600)
This commit is contained in:
Martin Kroeker 2022-04-09 22:23:45 +02:00 committed by GitHub
commit 848c4e881d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ 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)
set(CMAKE_Fortran_FLAGS "$CMAKE_Fortran_FLAGS -O2")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -O2")
endif()
if (BUILD_SINGLE)