Install from source in macOs Catalina 10.15.7

Hi!,

I’m unable to install neovim from source on an old Mac (macOS Catalina 10.15.7).
The command make CMAKE_BUILD_TYPE=RelWithDebInfo fails with error:

ninja: build stopped: subcommand failed.
make: *** [deps] Error 1

The problems is related to certificates:

  ...
  SSL: certificate subject name 'tomcat' does not match target host name
  'codeload.github.com'

  Closing connection 1

  TLSv1.2 (OUT), TLS alert, close notify (256):

I’ve tried to import certificates into the system from a newer version of macOS but it didn’t work.

Any suggestions?