Skip to content

Commit

Permalink
Fix standard flag for Intel 17
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Sep 24, 2019
1 parent c082b7f commit 83c5106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (FLIBCPP_FORTRAN_STD AND NOT FLIBCPP_FORTRAN_STD STREQUAL "none")
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
set(_FLIBCPP_STD_FLAGS "-std=f20${FLIBCPP_FORTRAN_STD}")
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
set(_FLIBCPP_STD_FLAGS "-stand ${FLIBCPP_FORTRAN_STD}")
set(_FLIBCPP_STD_FLAGS "-std${FLIBCPP_FORTRAN_STD}")
else()
message(WARNING "Fortran standard flags are not known for "
"compilier '${CMAKE_Fortran_COMPILER_ID}': ignoring"
Expand Down

0 comments on commit 83c5106

Please sign in to comment.