SDL_image: cmake: we create TIFF::TIFF target for vendored libtiff library (891be)

From 891be7990584de4ffb0d8483a0ab8b4ae79f2eb7 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 26 Mar 2024 02:36:11 +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 30346774..47200058 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -646,7 +646,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)