Skip to content

Commit 83c5106

Browse files
committed
Fix standard flag for Intel 17
1 parent c082b7f commit 83c5106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if (FLIBCPP_FORTRAN_STD AND NOT FLIBCPP_FORTRAN_STD STREQUAL "none")
3535
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
3636
set(_FLIBCPP_STD_FLAGS "-std=f20${FLIBCPP_FORTRAN_STD}")
3737
elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
38-
set(_FLIBCPP_STD_FLAGS "-stand ${FLIBCPP_FORTRAN_STD}")
38+
set(_FLIBCPP_STD_FLAGS "-std${FLIBCPP_FORTRAN_STD}")
3939
else()
4040
message(WARNING "Fortran standard flags are not known for "
4141
"compilier '${CMAKE_Fortran_COMPILER_ID}': ignoring"

0 commit comments

Comments
 (0)