Following this discussion, we have the issue that we can’t find the GNU GCC (gcc, g++, and gfortran) installed via HomeBrew on macOS. There might some temporary workaround for this specific issue, but it would be great if we could have a script/macro (e.g., findGCC.cmake) that would fine the GNU compilers automatically. Thanks for your kind support in advance.
This is a duplicate of this feature request on CMake GitLab.
Why are the Homebrew compilers not available in PATH? IIRC, brew has ways to “activate” packages to make them available in Homebrew’s prefix. That is how I would manage this at least.