crypto/sha1: simplify enablement of sha insns on non-msvc

This commit is contained in:
Shawn Hoffman
2022-08-02 23:05:07 -07:00
parent 4e6aa28da4
commit 78142e30cc
2 changed files with 3 additions and 22 deletions

View File

@ -139,6 +139,7 @@ add_library(common
if(NOT MSVC AND _M_ARM_64)
set_source_files_properties(
Crypto/AES.cpp
Crypto/SHA1.cpp
PROPERTIES COMPILE_FLAGS "-march=armv8-a+crypto")
endif()