From a3e32d81c5292c304b85efeeb3cf2227d6ddf191 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Sun, 5 Sep 2021 18:57:40 +0100 Subject: [PATCH] Add hint to error message on how to build with in-tree Irrlicht --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65c6bf6c3..1995f34b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,7 +86,8 @@ else() if(NOT TARGET IrrlichtMt::IrrlichtMt) string(CONCAT explanation_msg "The Minetest team has forked Irrlicht to make their own customizations. " - "It can be found here: https://github.com/minetest/irrlicht") + "It can be found here: https://github.com/minetest/irrlicht\n" + "For example use: git clone --depth=1 https://github.com/minetest/irrlicht lib/irrlichtmt\n") if(BUILD_CLIENT) message(FATAL_ERROR "IrrlichtMt is required to build the client, but it was not found.\n${explanation_msg}") endif()