From 40677759471e04c37c404fd86067ea91d42622c0 Mon Sep 17 00:00:00 2001 From: Brady Date: Thu, 12 Dec 2024 01:07:05 -0600 Subject: [PATCH] Remove arch flags on MSVC --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 82d0b79..d6ce27f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,8 +27,8 @@ option(LIBHAT_TESTING_SDE "Run tests using Intel Software Development Emulator" option(LIBHAT_HINT_X86_64 "Enables support for the x86_64 scan hint, requires a small (less than 1KB) data table" ON) if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") - set_source_files_properties(src/arch/x86/AVX2.cpp PROPERTIES COMPILE_FLAGS "/arch:AVX2") - set_source_files_properties(src/arch/x86/AVX512.cpp PROPERTIES COMPILE_FLAGS "/arch:AVX512") +# set_source_files_properties(src/arch/x86/AVX2.cpp PROPERTIES COMPILE_FLAGS "/arch:AVX2") +# set_source_files_properties(src/arch/x86/AVX512.cpp PROPERTIES COMPILE_FLAGS "/arch:AVX512") elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") set_source_files_properties(src/arch/x86/SSE.cpp PROPERTIES COMPILE_FLAGS "-msse4.1") set_source_files_properties(src/arch/x86/AVX2.cpp PROPERTIES COMPILE_FLAGS "-mavx -mavx2 -mbmi")