Just reading the notes at the top of FindSDL2.cmake, it appears SDL2_BUILDING_LIBRARY flag is intended for linking libraries only.  Was SDL2_LIBRARY_ONLY for the same purpose?