$ wget https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1.tar.gz $ tar xvf cmake-3.19.1.tar.gz $ cd cmake-3.19.1/ $ mkdir build $ cd build $ ../configure --prefix=/opt/cmake/cmake-3.19.1 -- -DOPENSSL_ROOT_DIR=/opt/openssl/openssl-1.1.1i $ make $ make install