SDL: Add back glob for src/video/*.c to CMakeLists.txt

From 12d18c7497c1735840f923a47e160d93bbb8983c Mon Sep 17 00:00:00 2001
From: Isaac Aronson <[EMAIL REDACTED]>
Date: Wed, 6 Sep 2023 17:08:19 -0500
Subject: [PATCH] Add back glob for src/video/*.c to CMakeLists.txt

---
 CMakeLists.txt | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 27223d7f66d10..a40bc609a4c14 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -498,6 +498,7 @@ sdl_glob_sources(
   "${SDL3_SOURCE_DIR}/src/thread/*.c"
   "${SDL3_SOURCE_DIR}/src/time/*.c"
   "${SDL3_SOURCE_DIR}/src/timer/*.c"
+  "${SDL3_SOURCE_DIR}/src/video/*.c"
   "${SDL3_SOURCE_DIR}/src/video/yuv2rgb/*.c"
 )
 if(MSVC AND TARGET SDL3-shared)
@@ -513,12 +514,6 @@ if(MSVC AND TARGET SDL3-shared)
   endif()
 endif()
 
-# Exclude intrinsinc modules from general builds
-file(GLOB video_sources "${SDL3_SOURCE_DIR}/src/video/*.c")
-list(FILTER video_sources EXCLUDE REGEX "SDL_blit_A_avx2.c$")
-list(FILTER video_sources EXCLUDE REGEX "SDL_blit_A_sse4_1.c$")
-sdl_glob_sources(${video_sources})
-
 if(USE_INTELCC)
   # warning #39: division by zero
   # warning #239: floating point underflow
@@ -744,7 +739,6 @@ if(SDL_ASSEMBLY)
     cmake_pop_check_state()
     if(COMPILER_SUPPORTS_SSE4_1)
       set(HAVE_SSE4_1 TRUE)
-      sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/SDL_blit_A_sse4_1.c")
     endif()
   endif()
   if(SDL_SSE4_2)
@@ -808,7 +802,6 @@ if(SDL_ASSEMBLY)
         return 0;
       }" COMPILER_SUPPORTS_AVX2)
     cmake_pop_check_state()
-    sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/SDL_blit_A_*.c")
     if(COMPILER_SUPPORTS_AVX2)
       set(HAVE_AVX2 TRUE)
     endif()