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.
This commit is contained in:
Florent Rougon 2020-05-01 17:37:36 +02:00
parent 819074136a
commit fa0dcb5d4d

View File

@ -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