Fix missing braces from previous commit (PR3600)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 9 Apr 2022 18:03:36 +0000 (20:03 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Apr 2022 18:03:36 +0000 (20:03 +0200)
test/CMakeLists.txt

index 57ea805..d68b12d 100644 (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)