diff options
author | NeroBurner <pyro4hell@gmail.com> | 2021-06-29 09:57:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 10:57:19 +0300 |
commit | fa4dee0e62dcf2bbfb68b17cf97e438eab58be93 (patch) | |
tree | 951a36caf1816c5b22ef79ccae679afdf51af016 /README.md | |
parent | 63fc728a84a5ba97240233ad1c5d94f1ade2deb1 (diff) | |
download | minetest-fa4dee0e62dcf2bbfb68b17cf97e438eab58be93.tar.gz minetest-fa4dee0e62dcf2bbfb68b17cf97e438eab58be93.tar.bz2 minetest-fa4dee0e62dcf2bbfb68b17cf97e438eab58be93.zip |
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
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -177,6 +177,10 @@ Download minetest_game (otherwise only the "Development Test" game is available) git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game +Download IrrlichtMt to `lib/irrlichtmt`, it will be used to satisfy the IrrlichtMt dependency that way: + + git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt + Download source, without using Git: wget https://github.com/minetest/minetest/archive/master.tar.gz @@ -191,6 +195,14 @@ Download minetest_game, without using Git: mv minetest_game-master minetest_game cd .. +Download IrrlichtMt, without using Git: + + cd lib/ + wget https://github.com/minetest/irrlicht/archive/master.tar.gz + tar xf master.tar.gz + mv irrlicht-master irrlichtmt + cd .. + #### Build Build a version that runs directly from the source directory: |