The variable 'CMAKE_Fortran_FLAGS' should only be set by the cmake toolchain,
- either by calling
cmake -DCMAKE_Fortran_FLAGS=" -ffree-form -cpp -ffree-line-length-none -fmax-errors=5 -std=f2008 -fno-underscoring or
- set in a toolchain file and added with 'cmake -DCMAKE_TOOLCHAIN_FILE='.