SDL_ttf: cmake: don't set properties twice

From f0db5948b55d8320d505053225ac9286c89beba1 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sat, 23 Mar 2024 14:46:42 +0100
Subject: [PATCH] cmake: don't set properties twice

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 93ba86f3..4afd21cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -263,23 +263,6 @@ elseif (UNIX AND NOT APPLE AND NOT ANDROID)
         VERSION "${LT_VERSION}"
     )
 endif()
-if (BUILD_SHARED_LIBS)
-    if (WIN32 OR OS2)
-        set_target_properties(SDL2_ttf PROPERTIES
-            PREFIX ""
-        )
-    endif()
-    if (OS2)
-        # OS/2 doesn't support a DLL name longer than 8 characters.
-        set_target_properties(SDL2_ttf PROPERTIES
-           OUTPUT_NAME "SDL2ttf"
-        )
-    elseif (UNIX AND NOT APPLE AND NOT ANDROID)
-        set_target_properties(SDL2_ttf PROPERTIES
-            OUTPUT_NAME "SDL2_ttf-${LT_RELEASE}"
-        )
-    endif()
-endif()
 
 # Restore BUILD_SHARED_LIBS variable
 set(BUILD_SHARED_LIBS "${SDL2TTF_BUILD_SHARED_LIBS}")