]> git.lizzy.rs Git - dragonfireclient.git/commit
Use user provided lib/irrlichtmt if available (#11276)
authorNeroBurner <pyro4hell@gmail.com>
Tue, 29 Jun 2021 07:57:19 +0000 (09:57 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Jun 2021 07:57:19 +0000 (10:57 +0300)
commitfa4dee0e62dcf2bbfb68b17cf97e438eab58be93
tree951a36caf1816c5b22ef79ccae679afdf51af016
parent63fc728a84a5ba97240233ad1c5d94f1ade2deb1
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
.gitignore
CMakeLists.txt
README.md