SDL2 in fetchcontent as well

This commit is contained in:
2025-07-06 00:02:45 -05:00
parent 3995241da3
commit 3aa4150ea8
8 changed files with 128 additions and 20 deletions

View File

@@ -50,8 +50,13 @@ static GXRModeObj *rmode = NULL;
#endif
#if defined(TESSESFRAMEWORK_ENABLE_SDL2)
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#if defined(TESSESFRAMEWORK_FETCHCONTENT)
#include <SDL_ttf.h>
#include <SDL_image.h>
#else
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#endif
#include "TessesFramework/SDL2/GUI.hpp"
#endif