ARPA-SIMC / libsim

Command-line utilities and fortran modules for meteorological data processing
GNU General Public License v2.0
7 stars 1 forks source link

Use pkg-config to find eccodes, if present #95

Closed spanezz closed 2 years ago

spanezz commented 2 years ago

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?