mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
Merge pull request 'Do not add -mfpu=neon flag under aarch64' (#15) from fundawang/soundtouch:master into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/15
This commit is contained in:
commit
dd2252e9af
@ -68,7 +68,9 @@ 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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user