space-physics / igrf

International Geomagnetic Reference Field IGRF13 in Python and Matlab
https://www.ngdc.noaa.gov/IAGA/vmod/
MIT License
66 stars 28 forks source link

CMake not found after installation on mac #10

Closed dasanaei closed 3 years ago

dasanaei commented 3 years ago

I am on Mac and after installation of igrf, the following error occured: FileNotFoundError: CMake not available

This can be fixed by installing CMake using pip (pip install cmake). CMake should be added to the requirements/dependencies of igrc, as it is not automatically installed by either gcc or igrf.

scivision commented 3 years ago

Yes it's a matter of package author opinion. If someone has a version of CMake installed by one of many other means, I don't want to override that.