Commit 788f231e authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'nag-fortran-include-moddir'


 NAG: Fix using Fortran modules from their output directory
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !5842
parents 7120e2e8 ec030877
......@@ -31,6 +31,7 @@ endif()
set(CMAKE_Fortran_SUBMODULE_SEP ".")
set(CMAKE_Fortran_SUBMODULE_EXT ".sub")
set(CMAKE_Fortran_MODDIR_FLAG "-mdir ")
set(CMAKE_Fortran_MODDIR_INCLUDE_FLAG "-I") # -mdir does not affect search path
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment