This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 6b9a24b3b72ce3a0fb2585585e0e91ef266627d1
Author: Martin Zink <[email protected]>
AuthorDate: Wed Aug 2 12:44:21 2023 +0200

    MINIFICPP-2188 Fix build failure on ARM64
    
    Signed-off-by: Ferenc Gerlits <[email protected]>
    This closes #1633
---
 cmake/BundledOpenSSL.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/BundledOpenSSL.cmake b/cmake/BundledOpenSSL.cmake
index b9caca42f..35e26d2f6 100644
--- a/cmake/BundledOpenSSL.cmake
+++ b/cmake/BundledOpenSSL.cmake
@@ -18,7 +18,7 @@
 function(use_openssl SOURCE_DIR BINARY_DIR)
     message("Using bundled OpenSSL")
 
-    if(APPLE OR WIN32 OR CMAKE_SIZEOF_VOID_P EQUAL 4)
+    if(APPLE OR WIN32 OR CMAKE_SIZEOF_VOID_P EQUAL 4 OR CMAKE_SYSTEM_PROCESSOR 
MATCHES "(arm64)|(ARM64)|(aarch64)|(armv8)")
         set(LIBDIR "lib")
     else()
         set(LIBDIR "lib64")

Reply via email to