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