diff options
author | Andrew Kaster <akaster@serenityos.org> | 2021-08-19 22:33:06 -0600 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-09-15 19:04:52 +0430 |
commit | 9dff6acc556c9e7e2eb5ae4ddc5f3310d8e9eb94 (patch) | |
tree | 60f77eb3b6e5f7c6c3aaa010d491212c1c1932d2 /Ports/openttd | |
parent | b9e3647e668823aaedd3c6a63f6d0498b4544efd (diff) | |
download | serenity-9dff6acc556c9e7e2eb5ae4ddc5f3310d8e9eb94.zip |
Ports: Use new CMakeToolchain.txt located in the build directory
Now that we're generating the CMake toolchain file in the build
directory, we need to redirect the ports that use CMake to the new
location. Looking into this showed that there's still a bunch of work to
do in general to make the ports agnostic to which toolchain they're
using, there's a lot of hard-coded ${ARCH}-pc-serenity-gcc assumptions
still here.
Diffstat (limited to 'Ports/openttd')
-rwxr-xr-x | Ports/openttd/package.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/openttd/package.sh b/Ports/openttd/package.sh index 22c7d09a46..8cf3face42 100755 --- a/Ports/openttd/package.sh +++ b/Ports/openttd/package.sh @@ -5,7 +5,7 @@ auth_type=sha256 depends="freetype SDL2 libicu libpng zlib xz openttd-opengfx openttd-opensfx" files="https://cdn.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz openttd-${version}.tar.xz 5e65184e07368ba1afa62dbb3e35abaee6c4da6730ff4bc9eb4447d53363c7a8" useconfigure=true -configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt" +configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" launcher_name=OpenTTD launcher_category=Games launcher_command=/usr/local/games/openttd |