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

Merge topic 'nag-fortran-include-moddir' into release-3.20

ec030877

 NAG: Fix using Fortran modules from their output directory
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !5842
parents 049c257e ec030877
Pipeline #215656 canceled with stages
in 1 minute and 4 seconds
......@@ -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_SHARED_LIBRARY_Fortran_FLAGS "-PIC")
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