Skip to content

Commit 606b6eb

Browse files
authored
Merge pull request #369 from grisuthedragon/master
CMake generates faulty commandlines when invoking ifort or xlf
2 parents 69d6c93 + 3bd5683 commit 606b6eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 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+
list(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+
list(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
@@ -443,4 +443,4 @@ install(FILES
443443
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
444444
COMPONENT Development
445445
)
446-
446+

0 commit comments

Comments
 (0)