Hi,
> set(SDL2_LIBRARIES "-L${SDL2_LIBDIR}  -lSDL2 ")

I know where that space comes from:

quoting configure.in

SDL_LIBS="-lSDL2 $BASE_LDFLAGS"


changing to 
SDL_LIBS="-lSDL2$BASE_LDFLAGS"

fixes the issue, because in our case BASE_LDFLAGS is undefined.

I'm not sure why the cmake build is not even creating it, and I'm not sure how
to best fix the issue.

I think a patch would be welcome, so the maintainers can apply it if needed :)

thanks for the bug report,

Gianfranco

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to