From fa4dee0e62dcf2bbfb68b17cf97e438eab58be93 Mon Sep 17 00:00:00 2001 From: NeroBurner Date: Tue, 29 Jun 2021 09:57:19 +0200 Subject: 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 | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 9db060aad..df1386bce 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,6 @@ CMakeDoxy* compile_commands.json *.apk *.zip + +# Optional user provided library folder +lib/irrlichtmt -- cgit v1.2.3