[CMake] Dependent variable definitions disappear in fortran module files

Brad King brad.king at kitware.com
Tue Oct 4 08:09:07 EDT 2011


On 9/30/2011 1:15 PM, John R. Cary wrote:
> When I build the definitions from the dependency are missing
> from the .mod file:
[snip]
> So something later in the cmake build seems to be removing
> these definitions.

Perhaps another target compiles the/a source file producing the same
.mod file but with different definitions later in the build?  That
may overwrite the .mod file with a different one.

-Brad


More information about the CMake mailing list