curl libarchive shared-mime-info jsoncpp libuv rhash
and you can always download a prebuilt static binary from their website: https://cmake.org/files/v3.12/cmake-3.12.1-Linux-x86_64.tar....