netcdf-fortran
netcdf-fortran copied to clipboard
documentation for building netcdf-fortran with CMake?
I am trying to get a cmake build working in my CI, but I can't find any instructions or documentation, and if Cmake has a standard way of specifying where to find required libraries, I don't know what that way is.
It ignores CPPFLAGS and LDFLAGS, and is trying to find the netcdf C library. How do I tell the netcdf-fortran cmake build where the C library is?
The cmake underpinnings in Fortran are a port that Russ did of my 1st attempt at integration with C. There are refinements and such which need to be made. Sticking with autotools for the time being is most likely easier. You can also use -DCMAKE_PREFIX_PATH=/[c library location root]/
OK, thanks!
No problem at all :)
#121