On an apple silicon Mac and using the latest cmake (4.0.3) I need to respecify the minimum CMake value in order to get this to build (any cmake.txts set to a min less than 3.5 will fail now).
Also, it needs to be set to beyond 3.13 in order to build due to get round the "This is allowed only when policy CMP0079 is set to NEW." issue.
Hopefully this will save someone some time!
e.g.
cmake -B ./build -DBUILD_VST3=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.13 -DCMAKE_BUILD_TYPE=Release -G Ninja