diff options
author | JosiahWI <41302989+JosiahWI@users.noreply.github.com> | 2021-07-27 12:11:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 19:11:27 +0200 |
commit | cf136914cf421ee52f6806eda2fa97740d0ee552 (patch) | |
tree | 1068c357c835cad165204d29771df5d1793c89a5 /util/ci | |
parent | 216728cc5e83ff6c4f13a52821ff3c24b1e315e9 (diff) | |
download | minetest-cf136914cf421ee52f6806eda2fa97740d0ee552.tar.gz minetest-cf136914cf421ee52f6806eda2fa97740d0ee552.tar.bz2 minetest-cf136914cf421ee52f6806eda2fa97740d0ee552.zip |
Take advantage of IrrlichtMt CMake target (#11287)
With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt.
Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.
Diffstat (limited to 'util/ci')
-rw-r--r-- | util/ci/common.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/ci/common.sh b/util/ci/common.sh index 6a28482fd..70a1bedaf 100644 --- a/util/ci/common.sh +++ b/util/ci/common.sh @@ -11,9 +11,7 @@ install_linux_deps() { shift pkgs+=(libirrlicht-dev) else - # TODO: return old URL when IrrlichtMt 1.9.0mt2 is tagged - #wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt1/ubuntu-bionic.tar.gz" - wget "http://minetest.kitsunemimi.pw/irrlichtmt-patched-temporary.tgz" -O ubuntu-bionic.tar.gz + wget "https://github.com/minetest/irrlicht/releases/download/1.9.0mt2/ubuntu-bionic.tar.gz" sudo tar -xaf ubuntu-bionic.tar.gz -C /usr/local fi |