Skip to content

Commit 3aba241

Browse files
committed
reverting incorrect changes made to syntax for CMAKE_Fortran_FLAGS in commits 7c98411 and ac26c7c - Verified with an Intel 18 configuration
1 parent b7d8dca commit 3aba241

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ include(PreventInBuildInstalls)
7373

7474
if(UNIX)
7575
if(CMAKE_Fortran_COMPILER_ID STREQUAL Intel)
76-
list(APPEND CMAKE_Fortran_FLAGS "-fp-model strict")
76+
string(APPEND CMAKE_Fortran_FLAGS "-fp-model strict")
7777
endif()
7878
if(CMAKE_Fortran_COMPILER_ID STREQUAL XL)
79-
list(APPEND CMAKE_Fortran_FLAGS "-qnosave -qstrict=none")
79+
string(APPEND CMAKE_Fortran_FLAGS "-qnosave -qstrict=none")
8080
endif()
8181
# Delete libmtsk in linking sequence for Sun/Oracle Fortran Compiler.
8282
# This library is not present in the Sun package SolarisStudio12.3-linux-x86-bin

0 commit comments

Comments
 (0)