From 9b8c3143bede446fdd965c08240b0f5c026e006d Mon Sep 17 00:00:00 2001 From: rafal1137 Date: Sat, 13 Mar 2021 14:50:37 +0000 Subject: [PATCH] cmake: fix compilation of bundled_openssl on RPI --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f9c8e6f..758244f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -430,7 +430,11 @@ elseif(UNIX) else() #SET(OPENSSL_BUILD ./Configure linux-x86_64 ${CROSS_COMPILE32_FLAGS}) # better use ./config here?! (..and not the CROSS_COMPILE32_FLAGS?!) - SET(OPENSSL_BUILD ./Configure linux-x86_64) + if(NOT ARM) + SET(OPENSSL_BUILD ./Configure linux-x86_64) + else() + SET(OPENSSL_BUILD ./Configure linux-armv4) + endif() endif() endif()