MantisBT - CMake
View Issue Details
0011248CMakeCMakepublic2010-09-19 16:002010-10-06 13:38
litghost 
Brad King 
normalmajoralways
closedfixed 
CMake-2-8 
CMake 2.8.3CMake 2.8.3 
0011248: Compaq Visual Fortran is missing CMAKE_Fortran_MODDIR_FLAG flag
When using the Compaq Visual Fortran compiler with modules, in order to specify where they are placed you use the "-module:" flag. This is required for the Fortran_MODULE_DIRECTORY variable to work.

This is identical to how the Intel Fortran Compiler specifies where modules are placed. In CMake 2.8.2 the CMAKE_Fortran_MODDIR_FLAG is provided for the Intel configuration file Module\Platform\Windows-ifort.cmake. The Compaq Visual Fortran configuration file Module\Platform\Windows-df.cmake does not have this flag.

I have attached Windows-df.cmake with the addition flag.
No tags attached.
? Windows-df.cmake (3,439) 2010-09-19 16:00
https://public.kitware.com/Bug/file/3398/Windows-df.cmake
Issue History
2010-09-19 16:00litghostNew Issue
2010-09-19 16:00litghostFile Added: Windows-df.cmake
2010-09-20 09:48Bill HoffmanStatusnew => assigned
2010-09-20 09:48Bill HoffmanAssigned To => Brad King
2010-09-20 09:57Brad KingNote Added: 0022276
2010-09-20 09:57Brad KingStatusassigned => closed
2010-09-20 09:57Brad KingResolutionopen => fixed
2010-10-06 13:38David ColeFixed in Version => CMake 2.8.3
2010-10-06 13:38David ColeTarget Version => CMake 2.8.3

Notes
(0022276)
Brad King   
2010-09-20 09:57   
Thanks for the patch. Applied:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c04af060 [^]