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

@@ -0,0 +1,10 @@
#pragma once
#define SDL_MAIN_HANDLED
#include <SDL2/SDL.h>
#if defined(TESSESFRAMEWORK_FETCHCONTENT)
#include <SDL_image.h>
#include <SDL_ttf.h>
#else
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#endif