Windows: set HAVE_IMMINTRIN_H for AVX intrinsics

This commit is contained in:
Joel Linn
2021-06-12 01:25:40 +02:00
committed by Ryan C. Gordon
parent 638befc1a9
commit 20eea021c6
2 changed files with 5 additions and 1 deletions

View File

@@ -773,6 +773,7 @@ if(ASSEMBLY)
set(HAVE_SSE TRUE)
set(HAVE_SSE2 TRUE)
set(HAVE_SSE3 TRUE)
check_include_file("immintrin.h" HAVE_IMMINTRIN_H)
set(SDL_ASSEMBLY_ROUTINES 1)
endif()
endif()