h7-fix-android-build #14

Merged
Mineplay merged 8 commits from h7-fix-android-build into main 2025-10-16 17:25:35 -05:00
Showing only changes of commit 19544228f2 - Show all commits

View file

@ -17,12 +17,12 @@ 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)
target_compile_options(Hallocy PRIVATE -mavx512f -mavx512vl -march=native)
target_compile_options(HallocyTest PRIVATE -mavx512f -mavx512vl -march=native)
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm")
target_compile_options(Hallocy PRIVATE -mfpu=neon)
target_compile_options(HallocyTest PRIVATE -mfpu=neon)
endif()
target_compile_options(Hallocy PRIVATE -march=native)
target_compile_options(HallocyTest PRIVATE -march=native)
target_compile_options(Hallocy PRIVATE -Wall -Wextra -pedantic)
endif()