Removed hardcoded build flags for ARM
This commit is contained in:
parent
afbe8c7e48
commit
52469f1d33
1 changed files with 1 additions and 9 deletions
|
|
@ -3,12 +3,4 @@ set (SFIZZ_SIMD_SOURCES
|
||||||
sfizz/SIMDNEON.cpp
|
sfizz/SIMDNEON.cpp
|
||||||
sfizz/SIMDDummy.cpp)
|
sfizz/SIMDDummy.cpp)
|
||||||
|
|
||||||
# SIMD checks
|
list (APPEND SFIZZ_SOURCES ${SFIZZ_SIMD_SOURCES})
|
||||||
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l")
|
|
||||||
add_compile_options (-DHAVE_ARM_NEON_H)
|
|
||||||
add_compile_options (-mfpu=neon)
|
|
||||||
add_compile_options (-march=native)
|
|
||||||
add_compile_options (-mtune=cortex-a53)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set (SFIZZ_SOURCES ${SFIZZ_SOURCES} ${SFIZZ_SIMD_SOURCES})
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue