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