SDL: cmake: fix location of SDL2::SDL2test imported library

From 8a08d62ff701d64d7f40bcea08c01c004e2851e4 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 5 Sep 2022 21:53:50 +0200
Subject: [PATCH] cmake: fix location of SDL2::SDL2test imported library

---
 sdl2-config.cmake.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdl2-config.cmake.in b/sdl2-config.cmake.in
index 2457586e6fb..446357fa968 100644
--- a/sdl2-config.cmake.in
+++ b/sdl2-config.cmake.in
@@ -170,7 +170,7 @@ if(EXISTS "${_sdl2test_library}")
     add_library(SDL2::SDL2test STATIC IMPORTED)
     set_target_properties(SDL2::SDL2test
       PROPERTIES
-        IMPORTED_LOCATION "_sdl2test_library"
+        IMPORTED_LOCATION "${_sdl2test_library}"
         INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}"
         IMPORTED_LINK_INTERFACE_LANGUAGES "C"
     )