Using cmake --preset mono with a dotnet that has been installed with homebrew fails to find the correct sdk path.
-- Detecting CXX compile features - done
CMake Error at cmake/CSharpifyDotnet.cmake:17 (file):
file failed to open for reading (No such file or directory):
/opt/homebrew/bin/sdk/8.0.101/Microsoft.NETCoreSdk.BundledVersions.props
Call Stack (most recent call first):
CMakeLists.txt:7 (include)
-- Using /opt/homebrew/bin/dotnet version 8.0.101 sdk
My sdk path is the following: /opt/homebrew/Cellar/dotnet/8.0.1/libexec/sdk/8.0.101
Probably need to query dotnet itself for the sdk path, rather than assuming the relative sdk location.