[cmake] update comment about AES on MSVC

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas 2023-08-10 17:05:22 +03:00
parent 9d3d35c71c
commit 990c91d1bd
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2

View file

@ -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")