From a705b44d0b8ab4fb162a557b29729144f7a7089e Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Tue, 13 Dec 2022 18:04:26 +0100 Subject: [PATCH] use meson setup in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f400eb2..f57b63c 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,14 @@ cd vkBasalt #### 64bit ``` -meson --buildtype=release --prefix=/usr builddir +meson setup --buildtype=release --prefix=/usr builddir ninja -C builddir install ``` #### 32bit Make sure that `PKG_CONFIG_PATH=/usr/lib32/pkgconfig` and `--libdir=lib32` are correct for your distro and change them if needed. On Debian based distros you need to replace `lib32` with `lib/i386-linux-gnu`, for example. ``` -ASFLAGS=--32 CFLAGS=-m32 CXXFLAGS=-m32 PKG_CONFIG_PATH=/usr/lib32/pkgconfig meson --prefix=/usr --buildtype=release --libdir=lib32 -Dwith_json=false builddir.32 +ASFLAGS=--32 CFLAGS=-m32 CXXFLAGS=-m32 PKG_CONFIG_PATH=/usr/lib32/pkgconfig meson setup --prefix=/usr --buildtype=release --libdir=lib32 -Dwith_json=false builddir.32 ninja -C builddir.32 install ```