CMake Error at CMakeLists.txt:78 (message)

CMake Error at CMakeLists.txt:78 (message):
  Irrlicht found, but it is not IrrlichtMt (Minetest's Irrlicht fork).  The
  Minetest team has forked Irrlicht to make their own customizations.  It can
  be found here: https://github.com/minetest/irrlicht

安装对应依赖即可

git clone https://github.com/minetest/irrlicht
cd irrlicht
cmake . -DBUILD_SHARED_LIBS=OFF
make -j$(nproc)

然后安装

make install

irrlicht的GitHub地址:GitHub - minetest/irrlicht: Minetest's fork of Irrlicht

minetest的cmake时增加库路径

-DIRRLICHT_INCLUDE_DIR=/usr/local/include/irrlichtmt/