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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -106,3 +106,6 @@ CMakeDoxy*
|
||||
compile_commands.json
|
||||
*.apk
|
||||
*.zip
|
||||
|
||||
# Optional user provided library folder
|
||||
lib/irrlichtmt
|
||||
|
||||
Reference in New Issue
Block a user