forked from Mirrorlandia_minetest/minetest
Add hint to error message on how to build with in-tree Irrlicht
This commit is contained in:
parent
ff9945dc6e
commit
a3e32d81c5
@ -86,7 +86,8 @@ else()
|
|||||||
if(NOT TARGET IrrlichtMt::IrrlichtMt)
|
if(NOT TARGET IrrlichtMt::IrrlichtMt)
|
||||||
string(CONCAT explanation_msg
|
string(CONCAT explanation_msg
|
||||||
"The Minetest team has forked Irrlicht to make their own customizations. "
|
"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)
|
if(BUILD_CLIENT)
|
||||||
message(FATAL_ERROR "IrrlichtMt is required to build the client, but it was not found.\n${explanation_msg}")
|
message(FATAL_ERROR "IrrlichtMt is required to build the client, but it was not found.\n${explanation_msg}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user