--- lib/sdl/CMakeLists.txt.orig	2022-11-02 16:53:49 UTC
+++ lib/sdl/CMakeLists.txt
@@ -55,14 +55,6 @@ if(NOT DEFINED WZ_FINDSDL2_NOCONFIG OR NOT WZ_FINDSDL2
 	find_package(SDL2 ${SDL2_MIN_VERSION} CONFIG QUIET)
 endif()
 if(SDL2_FOUND)
-	if (TARGET SDL2::SDL2-static)
-		# Check for INTERFACE_INCLUDE_DIRECTORIES to ignore the "aliased" target that vcpkg creates
-		get_target_property(_sdl2_include_dir SDL2::SDL2-static INTERFACE_INCLUDE_DIRECTORIES)
-		test_link_to_sdl_target(SDL2::SDL2-static FALSE LINK_SUCCESS_SDL2_SDL2STATIC_TARGET)
-		if (_sdl2_include_dir AND LINK_SUCCESS_SDL2_SDL2STATIC_TARGET)
-			set(_sdl2_library SDL2::SDL2-static)
-		endif()
-	endif()
 	if (NOT _sdl2_library AND TARGET SDL2::SDL2)
 		# Check for INTERFACE_INCLUDE_DIRECTORIES to ignore the "aliased" target that vcpkg creates
 		get_target_property(_sdl2_include_dir SDL2::SDL2 INTERFACE_INCLUDE_DIRECTORIES)
