CMake 3.12...3.18 or higher is required. You are running version 3.7.2 code example
Example: cmake 3.14 or higher is required. you are running version 3.13.4
sudo apt remove cmake #Uninstall old version
sudo apt-get install build-essential libssl-dev
wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz
tar -zxvf cmake-3.20.0.tar.gz
cd cmake-3.20.0
./bootstrap
make
sudo make install
cmake --version