fix(android build): made cmake file work with none simd processors
This commit is contained in:
parent
58ba6ee289
commit
5ab70241de
1 changed files with 4 additions and 2 deletions
|
|
@ -16,8 +16,10 @@ target_link_libraries(HallocyTest Hallocy)
|
|||
if (MSVC)
|
||||
target_compile_options(Hallocy PRIVATE /W4 /Zl)
|
||||
else()
|
||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
||||
target_compile_options(Hallocy PRIVATE -mavx512f -mavx512vl)
|
||||
target_compile_options(HallocyTest PRIVATE -mavx512f -mavx512vl)
|
||||
endif()
|
||||
|
||||
target_compile_options(Hallocy PRIVATE -march=native)
|
||||
target_compile_options(HallocyTest PRIVATE -march=native)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue