From 8eb673d43d5a5714a9252373b50d871c3d80dfdf Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 21 Mar 2023 17:15:28 +0300 Subject: [PATCH] cmake: fix typo from previous commit. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f74a91ba9b..18195b8ac9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)