cmake: fix typo from previous commit.

This commit is contained in:
Ozkan Sezer
2023-03-21 17:15:28 +03:00
committed by Ozkan Sezer
parent 262b13431d
commit 8eb673d43d

View File

@@ -369,7 +369,7 @@ option_string(SDL_ASSERTIONS "Enable internal sanity checks (auto/disabled/relea
set_option(SDL_ASSEMBLY "Enable assembly routines" ${SDL_ASSEMBLY_DEFAULT})
dep_option(SDL_AVX "Use AVX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_AVX2 "Use AVX2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_AVX512F "Use AVX512F assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_AVX512 "Use AVX512 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_SSE "Use SSE assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_SSE2 "Use SSE2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
dep_option(SDL_SSE3 "Use SSE3 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
@@ -884,7 +884,7 @@ if(SDL_ASSEMBLY)
set(HAVE_AVX2 TRUE)
endif()
endif()
if(SDL_AVX512F)
if(SDL_AVX512)
cmake_push_check_state()
if(USE_GCC OR USE_CLANG)
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -mavx512f")
@@ -1048,8 +1048,8 @@ if(NOT HAVE_SSE41)
set(SDL_DISABLE_SSE41 1)
endif()
if(NOT HAVE_SSE41)
set(SDL_DISABLE_SSE41 1)
if(NOT HAVE_SSE42)
set(SDL_DISABLE_SSE42 1)
endif()
if(NOT HAVE_AVX)