find ./ -type f -exec sed -i 's/#include "SDL/#include "SDL2\/SDL/' {} \;made it work on my box (but would of course break it on any box where SDL2 is the default). Isn't this the sort of thing autotools/cmake/whatever are supposed to take care of?
find ./ -type f -exec sed -i 's/#include "SDL/#include "SDL2\/SDL/' {} \;made it work on my box (but would of course break it on any box where SDL2 is the default). Isn't this the sort of thing autotools/cmake/whatever are supposed to take care of?
export SDL2DIR=/path/to/include/SDL2;/path/to/lib(the colon is just a delimiter; the syntax highlight is so hallucinating)