SDL_image: cmake: fix TIF reporting

From 40c2f0818edb0a4464935a8087099426cf99b18b Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 2 May 2024 03:16:40 +0200
Subject: [PATCH] cmake: fix TIF reporting

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d378806..2070164d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -814,7 +814,7 @@ list(APPEND SDL3IMAGE_BACKENDS TIF)
 set(SDL3IMAGE_TIF_ENABLED FALSE)
 if(SDL3IMAGE_TIF)
     if(SDL3IMAGE_BACKEND_IMAGEIO OR SDL3IMAGE_BACKEND_WIC)
-        set(SDL3IMAGE_PNG_ENABLED TRUE)
+        set(SDL3IMAGE_TIF_ENABLED TRUE)
     else()
         if(SDL3IMAGE_TIF_VENDORED)
             set(SDL3IMAGE_TIF_ENABLED TRUE)