CMake Error at CMakeLists.txt:78 (message)

安装对应依赖即可

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/