-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Lines 24 to 25 in 3a5ba0b
set(CMAKE_Fortran_STANDARD 2018) | |
set(CMAKE_Fortran_STANDARD_REQUIRED ON) |
These settings don't exist AFAIK. The ones which do exist are shown here: https://cmake.org/cmake/help/latest/prop_tgt/LANG_STANDARD.html
There is a CMake issue open for this (https://gitlab.kitware.com/cmake/cmake/-/issues/25006), but the current opinion is this ain't really needed.
If you'd like to add the conformity checkings flags, I'd recommend a generator expression instead:e
$<$<FORTRAN_COMPILER_ID:GNU>:-std=f2018>
$<$<FORTRAN_COMPILER_ID:Intel>:-stand f2018>
$<$<FORTRAN_COMPILER_ID:NAG>:-f2018>
Metadata
Metadata
Assignees
Labels
No labels