1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-01 13:25:28 +01:00

Use user provided lib/irrlichtmt if available (#11276)

Use user provided lib/irrlichtmt if available

Make it possible for a user to provide the IrrlichtMt dependency as
subdirectory at `lib/irrlichtmt`.
The subdirectory is added with the `EXCLUDE_FROM_ALL` flag to prevent
`libirrlichtmt.a` or other header files to be installed.

This enables the user to do the following to satisfy the IrrlichtMt
dependency:

git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt
cmake . -DRUN_IN_PLACE=TRUE
This commit is contained in:
NeroBurner
2021-06-29 09:57:19 +02:00
committed by GitHub
parent 63fc728a84
commit fa4dee0e62
3 changed files with 36 additions and 5 deletions

3
.gitignore vendored
View File

@@ -106,3 +106,6 @@ CMakeDoxy*
compile_commands.json
*.apk
*.zip
# Optional user provided library folder
lib/irrlichtmt