mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Disable avx2 for android
This commit is contained in:
@@ -115,7 +115,7 @@ endif()
|
||||
|
||||
##########################################
|
||||
|
||||
if(MOMO_ENABLE_AVX2)
|
||||
if(MOMO_ENABLE_AVX2 AND NOT (CMAKE_SYSTEM_NAME STREQUAL "Android"))
|
||||
set(CMAKE_REQUIRED_FLAGS -Werror)
|
||||
check_cxx_compiler_flag(-mavx2 COMPILER_SUPPORTS_MAVX2)
|
||||
set(CMAKE_REQUIRED_FLAGS "")
|
||||
|
||||
Reference in New Issue
Block a user