SDL_image: dist: SDL_image.h will be put in a include/SDL3 subfolder

From 01f5ad58cd6c79add49dc1b40e2171a53aea8632 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Fri, 6 Jan 2023 19:36:26 +0100
Subject: [PATCH] dist: SDL_image.h will be put in a include/SDL3 subfolder

---
 VisualC/pkg-support/cmake/sdl3_image-config-version.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/VisualC/pkg-support/cmake/sdl3_image-config-version.cmake b/VisualC/pkg-support/cmake/sdl3_image-config-version.cmake
index 8bea09a3..2b74891c 100644
--- a/VisualC/pkg-support/cmake/sdl3_image-config-version.cmake
+++ b/VisualC/pkg-support/cmake/sdl3_image-config-version.cmake
@@ -3,12 +3,12 @@
 # SDL3_image CMake version configuration file:
 # This file is meant to be placed in a cmake subfolder of SDL3_image-devel-3.x.y-VC
 
-if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/../include/SDL_image.h")
-    message(AUTHOR_WARNING "Could not find SDL_image.h. This script is meant to be placed in a CMake subfolder of SDL3_image-devel-3.x.y-VC")
+if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/../include/SDL3/SDL_image.h")
+    message(AUTHOR_WARNING "Could not find SDL3/SDL_image.h. This script is meant to be placed in a CMake subfolder of SDL3_image-devel-3.x.y-VC")
     return()
 endif()
 
-file(READ "${CMAKE_CURRENT_LIST_DIR}/../include/SDL_image.h" _sdl_image_h)
+file(READ "${CMAKE_CURRENT_LIST_DIR}/../include/SDL3/SDL_image.h" _sdl_image_h)
 string(REGEX MATCH "#define[ \t]+SDL_IMAGE_MAJOR_VERSION[ \t]+([0-9]+)" _sdl_major_re "${_sdl_image_h}")
 set(_sdl_major "${CMAKE_MATCH_1}")
 string(REGEX MATCH "#define[ \t]+SDL_IMAGE_MINOR_VERSION[ \t]+([0-9]+)" _sdl_minor_re "${_sdl_image_h}")