From 5e4a2974aac9b58bb8b342af280704b4761880d0 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 12 Jan 2025 16:07:50 -0800
Subject: [PATCH] Removed obsolete warnings about MIT licensed SIMD code
We no longer use the code this was warning about
---
CMakeLists.txt | 1 -
cmake/macros.cmake | 18 ------------------
2 files changed, 19 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad65570e27010..5d0f095f76d96 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -308,7 +308,6 @@ dep_option(SDL_SSE4_1 "Use SSE4.1 assembly routines" ON "SDL_ASSEMB
dep_option(SDL_SSE4_2 "Use SSE4.2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_MMX "Use MMX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_ALTIVEC "Use Altivec assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_POWERPC32 OR SDL_CPU_POWERPC64" OFF)
-dep_option(SDL_ARMSIMD "Use SIMD assembly blitters on ARM" OFF "SDL_ASSEMBLY;SDL_CPU_ARM32" OFF)
dep_option(SDL_ARMNEON "Use NEON assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_ARM32 OR SDL_CPU_ARM64" OFF)
dep_option(SDL_LSX "Use LSX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_LOONGARCH64" OFF)
dep_option(SDL_LASX "Use LASX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_LOONGARCH64" OFF)
diff --git a/cmake/macros.cmake b/cmake/macros.cmake
index 82dded49959fc..3885abaea28bd 100644
--- a/cmake/macros.cmake
+++ b/cmake/macros.cmake
@@ -376,24 +376,6 @@ function(SDL_PrintSummary)
message(STATUS "")
endif()
- if(WARN_ABOUT_ARM_SIMD_ASM_MIT)
- message(STATUS "SDL is being built with ARM SIMD optimizations, which")
- message(STATUS "uses code licensed under the MIT license. If this is a")
- message(STATUS "problem, please disable that code by rerunning CMake with:")
- message(STATUS "")
- message(STATUS " -DSDL_ARMSIMD=OFF")
- message(STATUS "")
- endif()
-
- if(WARN_ABOUT_ARM_NEON_ASM_MIT)
- message(STATUS "SDL is being built with ARM NEON optimizations, which")
- message(STATUS "uses code licensed under the MIT license. If this is a")
- message(STATUS "problem, please disable that code by rerunning CMake with:")
- message(STATUS "")
- message(STATUS " -DSDL_ARMNEON=OFF")
- message(STATUS "")
- endif()
-
if(UNIX AND NOT (ANDROID OR APPLE OR EMSCRIPTEN OR HAIKU OR RISCOS))
if(NOT (HAVE_X11 OR HAVE_WAYLAND))
if(NOT SDL_UNIX_CONSOLE_BUILD)