SDL_image: cmake: don't create SDL3::image anymore

From 682735dc1e5ddde0a0b63257173f8401b6d4a516 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 5 Jan 2023 19:20:15 +0100
Subject: [PATCH] cmake: don't create SDL3::image anymore

---
 CMakeLists.txt | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0974a046..296b473c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -767,16 +767,6 @@ if(SDL3IMAGE_SAMPLES)
     endforeach()
 endif()
 
-add_library(SDL3::image INTERFACE IMPORTED GLOBAL)
-set_target_properties(SDL3::image PROPERTIES
-    INTERFACE_LINK_LIBRARIES "SDL3_image"
-)
-if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.17")
-    set_target_properties(SDL3::image PROPERTIES
-        DEPRECATION "Use SDL3_image::SDL3_image or SDL3_image::SDL3_image-static instead"
-    )
-endif()
-
 if(SDL3IMAGE_TESTS)
     enable_testing()
     add_subdirectory(test)