This PR tries to look for eccodes using pkg-config, falling back to the old method if pkg-config cannot find eccodes.
This helps when building in Debian systems, and trying pkg-config first seems like a good idea in general. Possibly eccodes always has pkg-config by now, and the rest of the detection code can just be removed?
This PR tries to look for eccodes using pkg-config, falling back to the old method if pkg-config cannot find eccodes.
This helps when building in Debian systems, and trying pkg-config first seems like a good idea in general. Possibly eccodes always has pkg-config by now, and the rest of the detection code can just be removed?