mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
cmake: add -mfpu=neon if neon build
This commit is contained in:
parent
28b32c0fbb
commit
c65afe49f6
@ -61,6 +61,7 @@ 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)
|
||||||
|
target_compile_options(SoundTouch PRIVATE -mfpu=neon)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user