Include the fpu=neon switch when testing for arm_neon.h
This commit is contained in:
parent
42acafcbc3
commit
6fe6c370c2
@ -844,7 +844,7 @@ ENDIF()
|
||||
|
||||
# Check for ARM Neon support
|
||||
OPTION(ALSOFT_REQUIRE_NEON "Require ARM Neon support" OFF)
|
||||
CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H)
|
||||
CHECK_INCLUDE_FILE(arm_neon.h HAVE_ARM_NEON_H ${FPU_NEON_SWITCH})
|
||||
IF(HAVE_ARM_NEON_H)
|
||||
OPTION(ALSOFT_CPUEXT_NEON "Enable ARM Neon support" ON)
|
||||
IF(ALSOFT_CPUEXT_NEON)
|
||||
|
Loading…
Reference in New Issue
Block a user