From ed94e2fd0bd96999446a958abed47b2f19ef8263 Mon Sep 17 00:00:00 2001 From: ManDude <7569514+ManDude@users.noreply.github.com> Date: Sat, 16 Apr 2022 21:23:47 +0100 Subject: [PATCH] change clang-cl args (REALLY force avx) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53707a4370..310a515116 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,8 +26,8 @@ if(MSVC AND (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")) -Xclang -fexceptions \ -Xclang -std=c++17 \ -Xclang -D_CRT_SECURE_NO_WARNINGS \ - -mavx \ - -Wno-c++11-narrowing -Wno-c++98-compat -W3") + /arch:AVX \ + -Wno-c++11-narrowing -Wno-c++98-compat -Wno-c++20-compat -W3") # linker flags set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:16000000,16384")