SDL_image: cmake: we create TIFF::TIFF target for vendored libtiff library

From 2f47e3457fd0387ccd8400cf1a63a8f8d29f3fd3 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 26 Mar 2024 02:35:09 +0100
Subject: [PATCH] cmake: we create TIFF::TIFF target for vendored libtiff
 library

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e3cb0c07..f73e5936 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -746,7 +746,7 @@ if(SDL2IMAGE_TIF)
         set(BUILD_SHARED_LIBS ${SDL2IMAGE_TIF_SHARED})
         add_subdirectory(external/libtiff EXCLUDE_FROM_ALL)
         add_library(TIFF::TIFF ALIAS tiff)
-        set(SDL2IMAGE_TIF_TARGET "TIFF::tiff")
+        set(SDL2IMAGE_TIF_TARGET "TIFF::TIFF")
         list(APPEND INSTALL_EXTRA_TARGETS tiff)
         set_target_properties(tiff PROPERTIES EXPORT_NAME external_libtiff)
         add_library(SDL2_image::external_libtiff ALIAS tiff)