cmake: Detect AVX + allow build system to disable Intel intrinsics
This commit is contained in:
committed by
Anonymous Maarten
parent
683411e96f
commit
4681240241
@@ -138,8 +138,8 @@
|
||||
#define HAVE_SYSCTLBYNAME 1
|
||||
|
||||
#if defined(__has_include) && (defined(__i386__) || defined(__x86_64))
|
||||
# if __has_include(<immintrin.h>)
|
||||
# define HAVE_IMMINTRIN_H 1
|
||||
# if !__has_include(<immintrin.h>)
|
||||
# define SDL_DISABLE_AVX 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user