From 6b9a24b3b72ce3a0fb2585585e0e91ef266627d1 Mon Sep 17 00:00:00 2001 From: Martin Zink Date: Wed, 2 Aug 2023 12:44:21 +0200 Subject: [PATCH] MINIFICPP-2188 Fix build failure on ARM64 Signed-off-by: Ferenc Gerlits 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 b9caca42f1..35e26d2f61 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")