rapiz1 / DungeonRush

πŸ‘ΎπŸ A opensource game inspired by Snake, written in pure C with SDL
GNU General Public License v3.0
2k stars 294 forks source link

Add cmake support to solve build problem #7

Closed Bestoa closed 4 years ago

Bestoa commented 4 years ago

Hi,

I meet compile error on my Debian 9: /usr/include/SDL2/SDL_mixer.h:25:10: fatal error: SDL_stdinc.h: No such file or directory 25 | #include "SDL_stdinc.h" Seem you forget to add the include path in Makefile. So add cmake support to solve the build issue.

Thanks Bestoa

rapiz1 commented 4 years ago

The Makefile is poorly tested on platforms other than Arch Linux. And there is some difference when it comes to where the package maintainers of different distros put headers. Anyway, thanks for your contribution and I will review it later.

rapiz1 commented 4 years ago

Close by #22