Installation on M1 mac

Not sure where add dependency check since it says not to edit the Makefile.

That advice is because the Makefile is generated by CMake. Updates to the build system logic need to be made in the CMakeLists.txt (and related files) in order to be persistent.

However, it looks like you may be able to resolve the error by adding some CFLAGS and CXXFLAGS to the CMake command line. See How to use the Intel Classic C++ Compiler with macOS 11 (Big Sur) - Intel Community