Re: [CMake] Dependent variable definitions disappear in fortran module files

2011-10-04 Thread John R. Cary
This was in fact the case. Sorry not to report back...John On 10/4/11 6:09 AM, Brad King wrote: 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 d

Re: [CMake] Dependent variable definitions disappear in fortran module files

2011-10-04 Thread Brad King
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 wi

[CMake] Dependent variable definitions disappear in fortran module files

2011-09-30 Thread John R. Cary
I have a library that depends on another library (netcdf). When I build the definitions from the dependency are missing from the .mod file: octet.cary$ grep -i nf_inq_varid ezcdf_attrib.mod octet.cary$ But if I just compile again, they are there: octet.cary$ /usr/bin/gfortran -DHAVE_CONFIG_H