cmake: fix installed SDL3::SDL3_test + test on ci

This commit is contained in:
Anonymous Maarten
2023-01-31 05:26:02 +01:00
parent 72f40cb1f5
commit 0a3d038ff7
3 changed files with 22 additions and 1 deletions

9
cmake/test/sdltest.c Normal file
View File

@@ -0,0 +1,9 @@
#include <SDL3/SDL.h>
#include <SDL3/SDL_test.h>
int main(int argc, char *argv[]) {
SDLTest_CommonState state;
SDLTest_CommonDefaultArgs(&state, argc, argv);
return 0;
}