cmake: Allow build system to disable arm neon intrinsics

This commit is contained in:
Anonymous Maarten
2023-02-26 01:51:19 +01:00
committed by Anonymous Maarten
parent 46de6241d7
commit fc4085b54e
6 changed files with 22 additions and 13 deletions

View File

@@ -186,8 +186,7 @@
#include <SDL3/SDL.h>
#include <SDL3/SDL_intrin.h>
#ifdef __ARM_NEON
#if defined(__ARM_NEON) && !defined(SDL_DISABLE_NEON)
#define HAVE_NEON_INTRINSICS 1
#endif