FindSDL_gfx

於 3.25 版本新增。

定位 SDL_gfx 函式庫

此模組定義了

SDL::SDL_gfx, the name of the target to use with target_*() commands
SDL_GFX_LIBRARIES, the name of the library to link against
SDL_GFX_INCLUDE_DIRS, where to find the headers
SDL_GFX_FOUND, if false, do not try to link against
SDL_GFX_VERSION_STRING - human-readable string containing the
                           version of SDL_gfx

$SDLDIR 是一個環境變數,它對應於建置 SDL 時使用的 ./configure --prefix=$SDLDIR