Merge pull request #6883 from bigbrett/cmake-aarch64-build-macro-fix

cmake aarch64 fix
This commit is contained in:
JacobBarthelmeh 2023-10-17 15:31:23 -06:00 committed by GitHub
commit 19870b2378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1577,8 +1577,11 @@ endif()
# TODO: - Fast huge math
# Set processor-specific build macros
if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64|AMD64")
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_X86_64_BUILD")
elseif("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64|arm64")
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_AARCH64_BUILD")
endif()
# SP math all