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 -fPIC -pipe -O3 -I/usr/local/contrib/netcdf-4.1.2-ser/include -c /home/research/cary/projects/facetsall/builds/fciowrappers-1.0.48-r124/ezcdf/ezcdf_attrib.f90 -o CMakeFiles/ezcdf.dir/ezcdf_attrib.f90.o octet.cary$ grep -i nf_inq_varid ezcdf_attrib.mod403 'nf_inq_varid' 'ezcdf_attrib' 'nf_inq_varid' 1 ((PROCEDURE404 'nf_inq_varids' 'ezcdf_attrib' 'nf_inq_varids' 1 ((PROCEDURE'nf_inq_vardimid' 0 402 'nf_inq_varid' 0 403 'nf_inq_varids' 0 404

So something later in the cmake build seems to be removing
these definitions.

Any idea how to keep them?

Thx.....John Cary
--
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to