Ubuntu 18.04 comes default with cmake 3.10.2. When running this command, you might receive this error:
cmake ../sources/ -DCMAKE_INSTALL_PREFIX=/opt/wow/install/mangos -DCONF_INSTALL_DIR=/opt/wow/install/mangos/conf
CMake Error at CMakeLists.txt:20 (cmake_minimum_required):
CMake 3.12 or higher is required. You are running version 3.10.2
-- Configuring incomplete, errors occurred!
To fix this, you can upgrade cmake to a newer version. For example, here are the commands to upgrade to 3.16.7:
cd ~/
mkdir tmp
cd tmp
wget https://cmake.org/files/v3.16/cmake-3.16.7-Linux-x86_64.tar.gz
tar zxvf cmake-3.16.7-Linux-x86_64.tar.gz
sudo mv cmake-3.16.7-Linux-x86_64 /opt/cmake-3.16.7
sudo ln -sf /opt/cmake-3.16.7/bin/* /usr/bin/
cmake --version
rm -rf ~/tmp/