No idea if it compiles on Mac, it does on Linux though, at least for me.
Haven't ever gotten CMake to compile SRB2, so I'm unable to really check if this works