I think I see what's wrong in the CMake output. I'll look into fixing the cmake support to not detect SDL2 as SDL1.
In the meantime, try using cmake like this to force SDL2 support:
cmake .. -DSDL_TYPE=SDL2
I have both SDL and SDL2 installed as frameworks in ~/Library/Frameworks, so I didn't encounter this case.