CMAKE_Fortran_MODDIR_FLAG
From Get docs
Cmake/docs/3.21/variable/cmake fortran moddir flag
CMAKE_Fortran_MODDIR_FLAG
Fortran flag for module output directory.
This stores the flag needed to pass the value of the Fortran_MODULE_DIRECTORY target property to the compiler.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_Fortran_MODDIR_FLAG.html