From 990c91d1bd354691c7941531398fb8cc252df3f8 Mon Sep 17 00:00:00 2001 From: r4sas Date: Thu, 10 Aug 2023 17:05:22 +0300 Subject: [PATCH] [cmake] update comment about AES on MSVC Signed-off-by: r4sas --- build/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index 17de1ebf..3185ffab 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -197,12 +197,7 @@ endif() # Note: AES-NI and AVX is available on x86-based CPU's. # Here also ARM64 implementation, but currently we don't support it. -# MSVC is not supported. -#if(MSVC) -# message(STATUS "AES-NI is not supported on MSVC, option was disabled") -# set(WITH_AESNI OFF) -#endif() - +# MSVC is not supported due to different ASM processing, so we hope OpenSSL has its own checks to run optimized code. if(WITH_AESNI AND (ARCHITECTURE MATCHES "x86_64" OR ARCHITECTURE MATCHES "i386")) if(NOT MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -maes")