From fa0dcb5d4df21aadd4bbe4ac5a2d5348eaffdc43 Mon Sep 17 00:00:00 2001
From: Florent Rougon <f.rougon@free.fr>
Date: Fri, 1 May 2020 17:37:36 +0200
Subject: [PATCH] download_and_compile.sh: add libssl-dev as mandatory dep for
 CMake

Unless SSL support is turned off, libssl-dev is needed to build CMake.
Thanks to Jeff Davis for the report.
---
 download_and_compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/download_and_compile.sh b/download_and_compile.sh
index c534242..6ed615a 100755
--- a/download_and_compile.sh
+++ b/download_and_compile.sh
@@ -691,7 +691,7 @@ if [[ "$DOWNLOAD_PACKAGES" = "y" ]]; then
   # CMake
   if _elementIn "CMAKE" "${WHATTOBUILD[@]}"; then
     PKG+=(libarchive-dev libbz2-dev libexpat1-dev libjsoncpp-dev liblzma-dev
-          libncurses5-dev procps zlib1g-dev)
+          libncurses5-dev libssl-dev procps zlib1g-dev)
   else
     PKG+=(cmake)
   fi