[cmake] Refactor netCDF library finding
NetCDF was the last dependency which used the Conan package manager. This MR removes everything Conan-related and refactors the NetCDF finding logic:
On Linux / macOS the system packages are searched. On Windows the developer needs to install the NetCDF binary installer (https://downloads.unidata.ucar.edu/netcdf-c/4.9.2/netCDF4.9.2-NC4-64.exe). Then the NetCDF C++ bindings are build automatically via CPM.
Tested also manually by @rinkk.
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behavior change was documented?
Edited by Lars Bilke