cmake HAVE_SDL_SOFTSTRETCHLINEAR examples

tom-seddon/b2 CMakeLists.txt :236

check_cxx_source_compiles("#include <SDL.h>
typedef decltype(&SDL_SoftStretchLinear) T;int main(void){return 0;}" HAVE_SDL_SOFTSTRETCHLINEAR)

tom-seddon/b2 CMakeLists.txt :238

message(STATUS "SDL_SoftStretchLinear exists: ``${HAVE_SDL_SOFTSTRETCHLINEAR}''")

tom-seddon/b2 src/b2/CMakeLists.txt :74

target_compile_definitions(b2 PRIVATE HAVE_SDL_SOFTSTRETCHLINEAR=1)