SDL_mixer: cmake: fix location of include dir for VC sdk

From d4451d08130ee25af695f4c0b85d1d50519316a1 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 18 Jun 2022 13:02:35 +0200
Subject: [PATCH] cmake: fix location of include dir for VC sdk

---
 VisualC/pkg-support/cmake/sdl2_mixer-config-version.cmake | 2 +-
 VisualC/pkg-support/cmake/sdl2_mixer-config.cmake         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/VisualC/pkg-support/cmake/sdl2_mixer-config-version.cmake b/VisualC/pkg-support/cmake/sdl2_mixer-config-version.cmake
index 308dca2f..4f4fea6c 100644
--- a/VisualC/pkg-support/cmake/sdl2_mixer-config-version.cmake
+++ b/VisualC/pkg-support/cmake/sdl2_mixer-config-version.cmake
@@ -8,7 +8,7 @@ if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/../include/SDL_mixer.h")
     return()
 endif()
 
-file(READ "${CMAKE_CURRENT_LIST_DIR}/../SDL_mixer.h" _sdl_mixer_h)
+file(READ "${CMAKE_CURRENT_LIST_DIR}/../include/SDL_mixer.h" _sdl_mixer_h)
 string(REGEX MATCH "#define[ \t]+SDL_MIXER_MAJOR_VERSION[ \t]+([0-9]+)" _sdl_major_re "${_sdl_mixer_h}")
 set(_sdl_major "${CMAKE_MATCH_1}")
 string(REGEX MATCH "#define[ \t]+SDL_MIXER_MINOR_VERSION[ \t]+([0-9]+)" _sdl_minor_re "${_sdl_mixer_h}")
diff --git a/VisualC/pkg-support/cmake/sdl2_mixer-config.cmake b/VisualC/pkg-support/cmake/sdl2_mixer-config.cmake
index ada1623f..7cec3cc6 100644
--- a/VisualC/pkg-support/cmake/sdl2_mixer-config.cmake
+++ b/VisualC/pkg-support/cmake/sdl2_mixer-config.cmake
@@ -51,7 +51,7 @@ else()
     return()
 endif()
 
-set(_sdl2mixer_incdir       "${CMAKE_CURRENT_LIST_DIR}/../include/SDL2")
+set(_sdl2mixer_incdir       "${CMAKE_CURRENT_LIST_DIR}/../include")
 set(_sdl2mixer_library      "${CMAKE_CURRENT_LIST_DIR}/../lib/${_sdl_arch_subdir}/SDL2_mixer.lib")
 set(_sdl2mixer_dll          "${CMAKE_CURRENT_LIST_DIR}/../lib/${_sdl_arch_subdir}/SDL2_mixer.dll")