[go: nahoru, domu]

Skip to content

Commit

Permalink
[meta] Explicitly use meson setup command
Browse files Browse the repository at this point in the history
Fixes some deprecation warnings with Meson 0.64.

cherry picked from commit doitsujin@82685ca
  • Loading branch information
Gcenx committed Mar 14, 2023
1 parent c63342e commit a757c55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ninja install
```
# 64-bit build. For 32-bit builds, replace
# build-win64.txt with build-win32.txt
meson --cross-file build-win64.txt --buildtype release --prefix /your/dxvk/directory build.w64
meson setup --cross-file build-win64.txt --buildtype release --prefix /your/dxvk/directory build.w64
cd build.w64
ninja install
```
Expand Down
14 changes: 7 additions & 7 deletions package-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ function build_arch {
opt_strip=--strip
fi

meson --cross-file "$DXVK_SRC_DIR/$crossfile$1.txt" \
--buildtype "release" \
--prefix "$DXVK_BUILD_DIR" \
$opt_strip \
--bindir "x$1" \
--libdir "x$1" \
-Dbuild_id=$opt_buildid \
meson setup --cross-file "$DXVK_SRC_DIR/$crossfile$1.txt" \
--buildtype "release" \
--prefix "$DXVK_BUILD_DIR" \
$opt_strip \
--bindir "x$1" \
--libdir "x$1" \
-Dbuild_id=$opt_buildid \
"$DXVK_BUILD_DIR/build.$1"

cd "$DXVK_BUILD_DIR/build.$1"
Expand Down

0 comments on commit a757c55

Please sign in to comment.