Skip to content

Commit

Permalink
MINIFICPP-2188 Fix build failure on ARM64
Browse files Browse the repository at this point in the history
Signed-off-by: Ferenc Gerlits <[email protected]>
This closes #1633
  • Loading branch information
martinzink authored and fgerlits committed Aug 22, 2023
1 parent b1c3720 commit 6b9a24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/BundledOpenSSL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6b9a24b

Please sign in to comment.