mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-09 12:22:51 +01:00
Do not add -mfpu=neon flag under aarch64
This commit is contained in:
parent
8726394399
commit
55bd933dba
@ -68,7 +68,9 @@ endif()
|
||||
option(NEON "Use ARM Neon SIMD instructions if in ARM CPU" ON)
|
||||
if(${NEON} AND ${NEON_CPU})
|
||||
target_compile_definitions(SoundTouch PRIVATE SOUNDTOUCH_USE_NEON)
|
||||
if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64.*$")
|
||||
target_compile_options(SoundTouch PRIVATE -mfpu=neon)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_package(OpenMP)
|
||||
|
Loading…
Reference in New Issue
Block a user