libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
zlib License
433 stars 146 forks source link

cmake: missing signal.h detection and HAVE_SIGNAL_H definition #489

Closed sezero closed 1 year ago

sezero commented 1 year ago

SDL_mixer cmake'ry is missing signal.h detection and its associated HAVE_SIGNAL_H definition in case of its presence. And, as a result, playmus and playwav example programs fail responding to e.g. Ctrl-C in the terminal. Issue is in both SDL2 and SDL3 versions.