Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add hint to error message on how to build with in-tree Irrlicht
  • Loading branch information
20kdc committed Sep 5, 2021
1 parent ff9945d commit a3e32d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit a3e32d8

Please sign in to comment.