Skip to content

Commit e8ef54b

Browse files
authored
Merge pull request #388 from raovgarimella/master
reverting incorrect changes made to syntax for CMAKE_Fortran_FLAGS with Intel/XL compilers
2 parents 306427d + 3aba241 commit e8ef54b

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)