cmake+tests: include SDL_build_config.h in select tests + add include paths

This commit is contained in:
Anonymous Maarten 2023-03-21 18:16:45 +01:00 committed by Ozkan Sezer
parent 0bd5ce13db
commit c30903882b
3 changed files with 22 additions and 5 deletions

View file

@ -1,6 +1,10 @@
/**
* SysWM test suite
*/
/* Avoid inclusion of e.g. X11 headers when these are not installed */
#include <build_config/SDL_build_config.h>
#include <SDL3/SDL.h>
#include <SDL3/SDL_syswm.h>
#include <SDL3/SDL_test.h>