From df14b61b9f559f90140e27179c48459e8ca4e8ea Mon Sep 17 00:00:00 2001 From: AmirHossein Abdolmotallebi Date: Sun, 7 Jun 2026 18:23:19 +0330 Subject: [PATCH] Remove AVX2 compile option for x64 target Removed AVX2 compile option for x64 architecture. --- src/native/windows/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/native/windows/CMakeLists.txt b/src/native/windows/CMakeLists.txt index 50de656..a908e78 100644 --- a/src/native/windows/CMakeLists.txt +++ b/src/native/windows/CMakeLists.txt @@ -17,7 +17,6 @@ endif() if(CMAKE_GENERATOR_PLATFORM STREQUAL "x64" OR CMAKE_GENERATOR_PLATFORM STREQUAL "") set(TARGET_ARCH "x64") set(OUTPUT_DIR "${BASE_OUTPUT_DIR}/win32-x86-64") - add_compile_options("/arch:AVX2") elseif(CMAKE_GENERATOR_PLATFORM STREQUAL "ARM64") set(TARGET_ARCH "ARM64") set(OUTPUT_DIR "${BASE_OUTPUT_DIR}/win32-arm64")